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
This commit is contained in:
mathias 2005-04-22 17:21:30 +00:00
parent 0cc3391cec
commit d1876666c9
2 changed files with 5 additions and 0 deletions

View file

@ -1,6 +1,8 @@
(Format: Year/Month/Day) (Format: Year/Month/Day)
Changes for 0.9.13 Changes for 0.9.13
*05/04/22: *05/04/22:
* clear maximized-Flags of a resized/moved Window (Mathias=
Window.cc
* fixed Iconified+Sticky Windows not shown in Iconbar (Mathias) * fixed Iconified+Sticky Windows not shown in Iconbar (Mathias)
(when in WorkspaceIcons-Mode (when in WorkspaceIcons-Mode
IconbarTool.cc IconbarTool.cc

View file

@ -3188,6 +3188,8 @@ void FluxboxWindow::startMoving(Window win) {
return; return;
moving = true; moving = true;
maximized = MAX_NONE;
Fluxbox *fluxbox = Fluxbox::instance(); Fluxbox *fluxbox = Fluxbox::instance();
// grabbing (and masking) on the root window allows us to // grabbing (and masking) on the root window allows us to
// freely map and unmap the window we're moving. // freely map and unmap the window we're moving.
@ -3411,6 +3413,7 @@ void FluxboxWindow::startResizing(Window win, int x, int y) {
return; return;
resizing = true; resizing = true;
maximized = MAX_NONE;
const Cursor& cursor = (m_resize_corner == LEFTTOP) ? frame().theme().upperLeftAngleCursor() : const Cursor& cursor = (m_resize_corner == LEFTTOP) ? frame().theme().upperLeftAngleCursor() :
(m_resize_corner == RIGHTTOP) ? frame().theme().upperRightAngleCursor() : (m_resize_corner == RIGHTTOP) ? frame().theme().upperRightAngleCursor() :