all repos — fluxbox @ 3a109be9b3038495b70ea3ec0894cf38b9121f27

custom fork of the fluxbox windowmanager

removing client from workspace and sending update netizen window del
fluxgen fluxgen
commit

3a109be9b3038495b70ea3ec0894cf38b9121f27

parent

85b4fd8717bc293cf9c6eae2986722c2e354255e

1 files changed, 9 insertions(+), 4 deletions(-)

jump to
M src/Screen.ccsrc/Screen.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.cc,v 1.215 2003/08/11 20:32:51 fluxgen Exp $ +// $Id: Screen.cc,v 1.216 2003/08/12 00:27:57 fluxgen Exp $ #include "Screen.hh"

@@ -772,9 +772,12 @@ client.transientFor()->fbwindow()->setInputFocus();

else Fluxbox::instance()->revertFocus(focused->screen()); } - // update client lists on all workspaces - for_each(getWorkspacesList().begin(), getWorkspacesList().end(), - mem_fun(&Workspace::updateClientmenu)); + + Workspaces::iterator workspace_it = getWorkspacesList().begin(); + Workspaces::iterator workspace_it_end = getWorkspacesList().end(); + for (; workspace_it != workspace_it_end; ++workspace_it) { + (*workspace_it)->removeWindow(client); + } // remove any grouping this is expecting Groupables::iterator it = m_expecting_groups.begin();

@@ -788,6 +791,8 @@ }

} // the client could be on icon menu so we update it updateIconMenu(); + // finaly send notify signal + updateNetizenWindowDel(client.window()); } FluxboxWindow *BScreen::getIcon(unsigned int index) {