aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsimonb <simonb>2005-01-20 22:41:34 (GMT)
committersimonb <simonb>2005-01-20 22:41:34 (GMT)
commitc89d54205f27b41a49da2e1c991ba7021d8737fb (patch)
tree078273218f1ceb7928c25cac2a1cd0969490823c /src
parent8fe257f45cf6ee19afc588324791f21ead325d6e (diff)
downloadfluxbox_paul-c89d54205f27b41a49da2e1c991ba7021d8737fb.zip
fluxbox_paul-c89d54205f27b41a49da2e1c991ba7021d8737fb.tar.bz2
fix tab detach - the window wasn't shown after attachTo
Diffstat (limited to 'src')
-rw-r--r--src/Window.cc5
1 files changed, 3 insertions, 2 deletions
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