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 | |
parent | 0cc3391cec84e72b098170221c9b5c166ce94579 (diff) | |
download | fluxbox_lack-d1876666c91b6f71566db7cf4034709283cf2ee6.zip fluxbox_lack-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
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/Window.cc | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -1,6 +1,8 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 0.9.13 | 2 | Changes for 0.9.13 |
3 | *05/04/22: | 3 | *05/04/22: |
4 | * clear maximized-Flags of a resized/moved Window (Mathias= | ||
5 | Window.cc | ||
4 | * fixed Iconified+Sticky Windows not shown in Iconbar (Mathias) | 6 | * fixed Iconified+Sticky Windows not shown in Iconbar (Mathias) |
5 | (when in WorkspaceIcons-Mode | 7 | (when in WorkspaceIcons-Mode |
6 | IconbarTool.cc | 8 | 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) { | |||
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() : |