fixed some issues with creating and alt-tabbing to transients of inactive tabs
This commit is contained in:
parent
282326a9d0
commit
58eb385351
2 changed files with 7 additions and 10 deletions
|
@ -1,5 +1,8 @@
|
||||||
(Format: Year/Month/Day)
|
(Format: Year/Month/Day)
|
||||||
Changes for 1.0rc3:
|
Changes for 1.0rc3:
|
||||||
|
*07/02/17:
|
||||||
|
* Fixed some issues with transients of inactive tabs (Mark)
|
||||||
|
Window.cc
|
||||||
*07/02/10:
|
*07/02/10:
|
||||||
* MaxSize and MinSize hints weren't getting updated properly -- bug #1560803
|
* MaxSize and MinSize hints weren't getting updated properly -- bug #1560803
|
||||||
(Mark + thanks Jim Ramsay)
|
(Mark + thanks Jim Ramsay)
|
||||||
|
|
|
@ -1887,11 +1887,11 @@ void FluxboxWindow::raise() {
|
||||||
}
|
}
|
||||||
// raise this window and every transient in it with this one last
|
// raise this window and every transient in it with this one last
|
||||||
if (client->fbwindow()) {
|
if (client->fbwindow()) {
|
||||||
raiseFluxboxWindow(*client->fbwindow());
|
|
||||||
// doing this on startup messes up the focus order
|
// doing this on startup messes up the focus order
|
||||||
if (!Fluxbox::instance()->isStartup())
|
if (!Fluxbox::instance()->isStartup())
|
||||||
// activate the client so the transient won't get pushed back down
|
// activate the client so the transient won't get pushed back down
|
||||||
client->fbwindow()->setCurrentClient(*client, false);
|
client->fbwindow()->setCurrentClient(*client, false);
|
||||||
|
raiseFluxboxWindow(*client->fbwindow());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1917,15 +1917,9 @@ void FluxboxWindow::tempRaise() {
|
||||||
if (isIconic())
|
if (isIconic())
|
||||||
deiconify();
|
deiconify();
|
||||||
|
|
||||||
// get root window
|
// the root transient will get raised when we stop cycling
|
||||||
WinClient *client = getRootTransientFor(m_client);
|
// raising it here causes problems when it isn't the active tab
|
||||||
|
tempRaiseFluxboxWindow(*this);
|
||||||
// if we don't have any root window use this as root
|
|
||||||
if (client == 0)
|
|
||||||
client = m_client;
|
|
||||||
|
|
||||||
if (client->fbwindow())
|
|
||||||
tempRaiseFluxboxWindow(*client->fbwindow());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue