From b3a2564ffd946adcc5f5baabef36ba0c5fd99ea9 Mon Sep 17 00:00:00 2001
From: fluxgen <fluxgen>
Date: Mon, 19 Jan 2004 22:07:24 +0000
Subject: clientlist notify when window changes workspace

---
 src/Screen.cc | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/src/Screen.cc b/src/Screen.cc
index 57dead2..0a22c25 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -22,7 +22,7 @@
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE.
 
-// $Id: Screen.cc,v 1.262 2004/01/19 18:29:43 fluxgen Exp $
+// $Id: Screen.cc,v 1.263 2004/01/19 22:07:24 fluxgen Exp $
 
 
 #include "Screen.hh"
@@ -1468,9 +1468,17 @@ void BScreen::reassociateWindow(FluxboxWindow *w, unsigned int wkspc_id,
     if (w->isIconic()) {
         removeIcon(w);
         getWorkspace(wkspc_id)->addWindow(*w);
+        // client list need to notify now even though
+        // we didn't remove/add any window,
+        // so listeners that uses the client list to 
+        // show whats on current/other workspace
+        // gets updated
+        m_clientlist_sig.notify(); 
     } else if (ignore_sticky || ! w->isStuck()) {
         getWorkspace(w->workspaceNumber())->removeWindow(w);
         getWorkspace(wkspc_id)->addWindow(*w);
+        // see comment above
+        m_clientlist_sig.notify();
     }
 }
 
-- 
cgit v0.11.2