aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Screen.cc10
1 files changed, 9 insertions, 1 deletions
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 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Screen.cc,v 1.262 2004/01/19 18:29:43 fluxgen Exp $ 25// $Id: Screen.cc,v 1.263 2004/01/19 22:07:24 fluxgen Exp $
26 26
27 27
28#include "Screen.hh" 28#include "Screen.hh"
@@ -1468,9 +1468,17 @@ void BScreen::reassociateWindow(FluxboxWindow *w, unsigned int wkspc_id,
1468 if (w->isIconic()) { 1468 if (w->isIconic()) {
1469 removeIcon(w); 1469 removeIcon(w);
1470 getWorkspace(wkspc_id)->addWindow(*w); 1470 getWorkspace(wkspc_id)->addWindow(*w);
1471 // client list need to notify now even though
1472 // we didn't remove/add any window,
1473 // so listeners that uses the client list to
1474 // show whats on current/other workspace
1475 // gets updated
1476 m_clientlist_sig.notify();
1471 } else if (ignore_sticky || ! w->isStuck()) { 1477 } else if (ignore_sticky || ! w->isStuck()) {
1472 getWorkspace(w->workspaceNumber())->removeWindow(w); 1478 getWorkspace(w->workspaceNumber())->removeWindow(w);
1473 getWorkspace(wkspc_id)->addWindow(*w); 1479 getWorkspace(wkspc_id)->addWindow(*w);
1480 // see comment above
1481 m_clientlist_sig.notify();
1474 } 1482 }
1475} 1483}
1476 1484