diff options
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() : |