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
mathias mathias
2 files changed,
5 insertions(+),
0 deletions(-)
M
src/Window.cc
→
src/Window.cc
@@ -3188,6 +3188,8 @@ if (s_num_grabs > 0)
return; moving = true; + maximized = MAX_NONE; + Fluxbox *fluxbox = Fluxbox::instance(); // grabbing (and masking) on the root window allows us to // freely map and unmap the window we're moving.@@ -3411,6 +3413,7 @@ if (s_num_grabs > 0 || isShaded() || isIconic() )
return; resizing = true; + maximized = MAX_NONE; const Cursor& cursor = (m_resize_corner == LEFTTOP) ? frame().theme().upperLeftAngleCursor() : (m_resize_corner == RIGHTTOP) ? frame().theme().upperRightAngleCursor() :