diff options
author | fluxgen <fluxgen> | 2004-01-19 22:07:24 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-01-19 22:07:24 (GMT) |
commit | b3a2564ffd946adcc5f5baabef36ba0c5fd99ea9 (patch) | |
tree | 855eb5330d7f9560d29436db475826995c1e3ff5 | |
parent | 9b131e7a6555d60a9b8de5c0aa55c3f4de793ed9 (diff) | |
download | fluxbox-b3a2564ffd946adcc5f5baabef36ba0c5fd99ea9.zip fluxbox-b3a2564ffd946adcc5f5baabef36ba0c5fd99ea9.tar.bz2 |
clientlist notify when window changes workspace
-rw-r--r-- | src/Screen.cc | 10 |
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 | ||