From d2a7cc60a2e27e450ffc84b8db4c68199dfda5e1 Mon Sep 17 00:00:00 2001
From: Mathias Gumz <akira at fluxbox dot org>
Date: Wed, 5 May 2010 22:30:42 +0200
Subject: 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
---
 src/Window.cc | 2 ++
 1 file changed, 2 insertions(+)

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) {
     m_state.maximized = WindowState::MAX_NONE;
     m_state.saveGeometry(frame().x(), frame().y(),
                          frame().width(), frame().height());
+
     frame().applyState();
+    stateSig().notify();
 
     const Cursor& cursor = (m_resize_corner == LEFTTOP) ? frame().theme()->upperLeftAngleCursor() :
                            (m_resize_corner == RIGHTTOP) ? frame().theme()->upperRightAngleCursor() :
-- 
cgit v0.11.2