all repos — fluxbox @ 245f8390a513be6865dfaba7ab42a1a0daf302c6

custom fork of the fluxbox windowmanager

workspace specific removal
fluxgen fluxgen
commit

245f8390a513be6865dfaba7ab42a1a0daf302c6

parent

dd02663c7d613912c6f2de12ab38b3fe48acdbd5

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

jump to
M src/Window.ccsrc/Window.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: Window.cc,v 1.81 2002/09/08 20:06:58 fluxgen Exp $ +// $Id: Window.cc,v 1.82 2002/09/08 23:47:03 fluxgen Exp $ #include "Window.hh"

@@ -344,10 +344,12 @@ screen->hideGeometry();

XUngrabPointer(display, CurrentTime); } - if (iconic) + if (!iconic) { + Workspace *workspace = screen->getWorkspace(workspace_number); + if (workspace) + workspace->removeWindow(this); + } else //it's iconic screen->removeIcon(this); - - screen->removeWindow(this); if (windowmenu) { delete windowmenu;