diff options
author | fluxgen <fluxgen> | 2002-09-10 16:46:15 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-09-10 16:46:15 (GMT) |
commit | 09cd1c9580bed978cedef42bc57b3220eac540a2 (patch) | |
tree | efe2a1af2da9898bbc7816d0ed117bd92b231532 | |
parent | 30848ef2b397a4082ae968d8aa742487468a6df9 (diff) | |
download | fluxbox-09cd1c9580bed978cedef42bc57b3220eac540a2.zip fluxbox-09cd1c9580bed978cedef42bc57b3220eac540a2.tar.bz2 |
tab disconnect
-rw-r--r-- | src/Window.cc | 6 |
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) |