aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2010-05-05 20:30:42 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2010-05-05 20:30:42 (GMT)
commitd2a7cc60a2e27e450ffc84b8db4c68199dfda5e1 (patch)
tree57d1ef195380d187dad1b5b1bc1e4b4a6e11356e
parentb43be7144fb60b544b7086a84ae15e6c90fd1809 (diff)
downloadfluxbox_pavel-d2a7cc60a2e27e450ffc84b8db4c68199dfda5e1.zip
fluxbox_pavel-d2a7cc60a2e27e450ffc84b8db4c68199dfda5e1.tar.bz2
bugfix: resizing stops _NET_WM_STATE_MAXIMIZED*, so trigger signal to set the properties correct
fixes partly #2980313, resize with keys still does not trigger _NET_WM props to be correct
-rw-r--r--src/Window.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 05ce98f..f64db65 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -3082,7 +3082,9 @@ void FluxboxWindow::startResizing(int x, int y, ReferenceCorner dir) {
3082 m_state.maximized = WindowState::MAX_NONE; 3082 m_state.maximized = WindowState::MAX_NONE;
3083 m_state.saveGeometry(frame().x(), frame().y(), 3083 m_state.saveGeometry(frame().x(), frame().y(),
3084 frame().width(), frame().height()); 3084 frame().width(), frame().height());
3085
3085 frame().applyState(); 3086 frame().applyState();
3087 stateSig().notify();
3086 3088
3087 const Cursor& cursor = (m_resize_corner == LEFTTOP) ? frame().theme()->upperLeftAngleCursor() : 3089 const Cursor& cursor = (m_resize_corner == LEFTTOP) ? frame().theme()->upperLeftAngleCursor() :
3088 (m_resize_corner == RIGHTTOP) ? frame().theme()->upperRightAngleCursor() : 3090 (m_resize_corner == RIGHTTOP) ? frame().theme()->upperRightAngleCursor() :