fix tab detach - the window wasn't shown after attachTo

This commit is contained in:
simonb 2005-01-20 22:41:34 +00:00
parent 8fe257f45c
commit c89d54205f
2 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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