From 916781f10f0269690781a9431f835c6ab28c4e8b Mon Sep 17 00:00:00 2001 From: mathias Date: Fri, 10 Dec 2004 03:33:23 +0000 Subject: maximizing a shaded window should unshade it before .. the user WANTS to see it. closed #1082671 --- src/Window.cc | 3 +++ 1 file changed, 3 insertions(+) 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) { if (isIconic()) deiconify(); + if (isShaded()) + shade(); + int head = screen().getHead(frame().window()); int new_x = frame().x(), new_y = frame().y(), -- cgit v0.11.2