diff options
author | mathias <mathias> | 2005-04-22 17:21:30 (GMT) |
---|---|---|
committer | mathias <mathias> | 2005-04-22 17:21:30 (GMT) |
commit | d1876666c91b6f71566db7cf4034709283cf2ee6 (patch) | |
tree | 1268b995148a66a04eda07664c5851f7c3c272f5 /src | |
parent | 0cc3391cec84e72b098170221c9b5c166ce94579 (diff) | |
download | fluxbox_paul-d1876666c91b6f71566db7cf4034709283cf2ee6.zip fluxbox_paul-d1876666c91b6f71566db7cf4034709283cf2ee6.tar.bz2 |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/Window.cc | 3 |
1 files changed, 3 insertions, 0 deletions
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) { | |||
3188 | return; | 3188 | return; |
3189 | 3189 | ||
3190 | moving = true; | 3190 | moving = true; |
3191 | maximized = MAX_NONE; | ||
3192 | |||
3191 | Fluxbox *fluxbox = Fluxbox::instance(); | 3193 | Fluxbox *fluxbox = Fluxbox::instance(); |
3192 | // grabbing (and masking) on the root window allows us to | 3194 | // grabbing (and masking) on the root window allows us to |
3193 | // freely map and unmap the window we're moving. | 3195 | // freely map and unmap the window we're moving. |
@@ -3411,6 +3413,7 @@ void FluxboxWindow::startResizing(Window win, int x, int y) { | |||
3411 | return; | 3413 | return; |
3412 | 3414 | ||
3413 | resizing = true; | 3415 | resizing = true; |
3416 | maximized = MAX_NONE; | ||
3414 | 3417 | ||
3415 | const Cursor& cursor = (m_resize_corner == LEFTTOP) ? frame().theme().upperLeftAngleCursor() : | 3418 | const Cursor& cursor = (m_resize_corner == LEFTTOP) ? frame().theme().upperLeftAngleCursor() : |
3416 | (m_resize_corner == RIGHTTOP) ? frame().theme().upperRightAngleCursor() : | 3419 | (m_resize_corner == RIGHTTOP) ? frame().theme().upperRightAngleCursor() : |