aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-12 00:27:57 (GMT)
committerfluxgen <fluxgen>2003-08-12 00:27:57 (GMT)
commit3a109be9b3038495b70ea3ec0894cf38b9121f27 (patch)
tree3044c6bdfdec89d882dcbe2f0fc650a18a260624 /src/Screen.cc
parent85b4fd8717bc293cf9c6eae2986722c2e354255e (diff)
downloadfluxbox-3a109be9b3038495b70ea3ec0894cf38b9121f27.zip
fluxbox-3a109be9b3038495b70ea3ec0894cf38b9121f27.tar.bz2
removing client from workspace and sending update netizen window del
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 5066420..6d45427 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.215 2003/08/11 20:32:51 fluxgen Exp $ 25// $Id: Screen.cc,v 1.216 2003/08/12 00:27:57 fluxgen Exp $
26 26
27 27
28#include "Screen.hh" 28#include "Screen.hh"
@@ -772,9 +772,12 @@ void BScreen::removeClient(WinClient &client) {
772 else 772 else
773 Fluxbox::instance()->revertFocus(focused->screen()); 773 Fluxbox::instance()->revertFocus(focused->screen());
774 } 774 }
775 // update client lists on all workspaces 775
776 for_each(getWorkspacesList().begin(), getWorkspacesList().end(), 776 Workspaces::iterator workspace_it = getWorkspacesList().begin();
777 mem_fun(&Workspace::updateClientmenu)); 777 Workspaces::iterator workspace_it_end = getWorkspacesList().end();
778 for (; workspace_it != workspace_it_end; ++workspace_it) {
779 (*workspace_it)->removeWindow(client);
780 }
778 781
779 // remove any grouping this is expecting 782 // remove any grouping this is expecting
780 Groupables::iterator it = m_expecting_groups.begin(); 783 Groupables::iterator it = m_expecting_groups.begin();
@@ -788,6 +791,8 @@ void BScreen::removeClient(WinClient &client) {
788 } 791 }
789 // the client could be on icon menu so we update it 792 // the client could be on icon menu so we update it
790 updateIconMenu(); 793 updateIconMenu();
794 // finaly send notify signal
795 updateNetizenWindowDel(client.window());
791} 796}
792 797
793FluxboxWindow *BScreen::getIcon(unsigned int index) { 798FluxboxWindow *BScreen::getIcon(unsigned int index) {