From d1876666c91b6f71566db7cf4034709283cf2ee6 Mon Sep 17 00:00:00 2001 From: mathias Date: Fri, 22 Apr 2005 17:21:30 +0000 Subject: clear the maximized-Flag from a resized/moved Window ... a moved or resized Window is not maximized any longer per definition imho. maybe we need to apply the same policy to the fullscreen-State --- ChangeLog | 2 ++ src/Window.cc | 3 +++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index afa701c..7134bfe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ (Format: Year/Month/Day) Changes for 0.9.13 *05/04/22: + * clear maximized-Flags of a resized/moved Window (Mathias= + Window.cc * fixed Iconified+Sticky Windows not shown in Iconbar (Mathias) (when in WorkspaceIcons-Mode IconbarTool.cc diff --git a/src/Window.cc b/src/Window.cc index 49c5f29..c2b3a62 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -3188,6 +3188,8 @@ void FluxboxWindow::startMoving(Window win) { return; moving = true; + maximized = MAX_NONE; + Fluxbox *fluxbox = Fluxbox::instance(); // grabbing (and masking) on the root window allows us to // freely map and unmap the window we're moving. @@ -3411,6 +3413,7 @@ void FluxboxWindow::startResizing(Window win, int x, int y) { return; resizing = true; + maximized = MAX_NONE; const Cursor& cursor = (m_resize_corner == LEFTTOP) ? frame().theme().upperLeftAngleCursor() : (m_resize_corner == RIGHTTOP) ? frame().theme().upperRightAngleCursor() : -- cgit v0.11.2