diff options
author | simonb <simonb> | 2005-01-20 22:41:34 (GMT) |
---|---|---|
committer | simonb <simonb> | 2005-01-20 22:41:34 (GMT) |
commit | c89d54205f27b41a49da2e1c991ba7021d8737fb (patch) | |
tree | 078273218f1ceb7928c25cac2a1cd0969490823c | |
parent | 8fe257f45cf6ee19afc588324791f21ead325d6e (diff) | |
download | fluxbox-c89d54205f27b41a49da2e1c991ba7021d8737fb.zip fluxbox-c89d54205f27b41a49da2e1c991ba7021d8737fb.tar.bz2 |
fix tab detach - the window wasn't shown after attachTo
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/Window.cc | 5 |
2 files changed, 6 insertions, 2 deletions
@@ -1,5 +1,8 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 0.9.12 | 2 | Changes for 0.9.12 |
3 | *05/01/21: | ||
4 | * Fix tab detaching - the window wasn't shown (Simon) | ||
5 | Window.cc | ||
3 | *05/01/20: | 6 | *05/01/20: |
4 | * Close #1105048 (thanx to the openbsd-folks) | 7 | * Close #1105048 (thanx to the openbsd-folks) |
5 | minor issues with fluxbox-generate_menu | 8 | minor issues with fluxbox-generate_menu |
diff --git a/src/Window.cc b/src/Window.cc index 11ddf39..b09498d 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -3483,9 +3483,10 @@ void FluxboxWindow::attachTo(int x, int y, bool interrupted) { | |||
3483 | detachClient(*old_attached); | 3483 | detachClient(*old_attached); |
3484 | // move window by relative amount of mouse movement | 3484 | // move window by relative amount of mouse movement |
3485 | // since just detached, move relative to old location | 3485 | // since just detached, move relative to old location |
3486 | if (client.m_win != 0) | 3486 | if (client.m_win != 0) { |
3487 | client.m_win->move(frame().x() - m_last_resize_x + x, frame().y() - m_last_resize_y + y); | 3487 | client.m_win->move(frame().x() - m_last_resize_x + x, frame().y() - m_last_resize_y + y); |
3488 | 3488 | client.m_win->show(); | |
3489 | } | ||
3489 | } | 3490 | } |
3490 | else if(attach_to_win==this && attach_to_win->isTabable()) { | 3491 | else if(attach_to_win==this && attach_to_win->isTabable()) { |
3491 | //reording of tabs within a frame | 3492 | //reording of tabs within a frame |