From c89d54205f27b41a49da2e1c991ba7021d8737fb Mon Sep 17 00:00:00 2001 From: simonb Date: Thu, 20 Jan 2005 22:41:34 +0000 Subject: fix tab detach - the window wasn't shown after attachTo --- ChangeLog | 3 +++ src/Window.cc | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3827997..7f39d5a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ (Format: Year/Month/Day) Changes for 0.9.12 +*05/01/21: + * Fix tab detaching - the window wasn't shown (Simon) + Window.cc *05/01/20: * Close #1105048 (thanx to the openbsd-folks) 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) { detachClient(*old_attached); // move window by relative amount of mouse movement // since just detached, move relative to old location - if (client.m_win != 0) + if (client.m_win != 0) { client.m_win->move(frame().x() - m_last_resize_x + x, frame().y() - m_last_resize_y + y); - + client.m_win->show(); + } } else if(attach_to_win==this && attach_to_win->isTabable()) { //reording of tabs within a frame -- cgit v0.11.2