fix tab detach - the window wasn't shown after attachTo
This commit is contained in:
parent
8fe257f45c
commit
c89d54205f
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue