aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Window.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 34eee3d..d5ba53c 100644
--- a/src/Window.cc
+++ b/src/Window.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: Window.cc,v 1.83 2002/09/10 10:55:34 fluxgen Exp $ 25// $Id: Window.cc,v 1.84 2002/09/10 16:46:15 fluxgen Exp $
26 26
27#include "Window.hh" 27#include "Window.hh"
28 28
@@ -3601,6 +3601,10 @@ void FluxboxWindow::changeBlackboxHints(BaseDisplay::BlackboxHints *net) {
3601 3601
3602 if ((net->flags & BaseDisplay::ATTRIB_WORKSPACE) && 3602 if ((net->flags & BaseDisplay::ATTRIB_WORKSPACE) &&
3603 (workspace_number != net->workspace)) { 3603 (workspace_number != net->workspace)) {
3604
3605 if (getTab()) // disconnect from tab chain before sending it to another workspace
3606 getTab()->disconnect();
3607
3604 screen->reassociateWindow(this, net->workspace, true); 3608 screen->reassociateWindow(this, net->workspace, true);
3605 3609
3606 if (screen->getCurrentWorkspaceID() != net->workspace) 3610 if (screen->getCurrentWorkspaceID() != net->workspace)