aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authormathias <mathias>2004-12-10 03:33:23 (GMT)
committermathias <mathias>2004-12-10 03:33:23 (GMT)
commit916781f10f0269690781a9431f835c6ab28c4e8b (patch)
treeb09601c8bcf09e9021705b0aa56dbdb17fd409fa /src/Window.cc
parent910215d0a5f409363a5e4152eb6b31896e18a65d (diff)
downloadfluxbox-916781f10f0269690781a9431f835c6ab28c4e8b.zip
fluxbox-916781f10f0269690781a9431f835c6ab28c4e8b.tar.bz2
maximizing a shaded window should unshade it before .. the user WANTS to see
it. closed #1082671
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc
index f8ce946..d0fae02 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -1443,6 +1443,9 @@ void FluxboxWindow::maximize(int type) {
1443 if (isIconic()) 1443 if (isIconic())
1444 deiconify(); 1444 deiconify();
1445 1445
1446 if (isShaded())
1447 shade();
1448
1446 int head = screen().getHead(frame().window()); 1449 int head = screen().getHead(frame().window());
1447 int new_x = frame().x(), 1450 int new_x = frame().x(),
1448 new_y = frame().y(), 1451 new_y = frame().y(),