aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authormathias <mathias>2005-04-22 17:21:30 (GMT)
committermathias <mathias>2005-04-22 17:21:30 (GMT)
commitd1876666c91b6f71566db7cf4034709283cf2ee6 (patch)
tree1268b995148a66a04eda07664c5851f7c3c272f5 /src/Window.cc
parent0cc3391cec84e72b098170221c9b5c166ce94579 (diff)
downloadfluxbox_pavel-d1876666c91b6f71566db7cf4034709283cf2ee6.zip
fluxbox_pavel-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/Window.cc')
-rw-r--r--src/Window.cc3
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() :