Workspace::findToplevel should iterate through allClients
Not just x11 ones.
This commit is contained in:
parent
a1c0d43deb
commit
fbbf96751b
1 changed files with 1 additions and 1 deletions
|
@ -1700,7 +1700,7 @@ X11Client *Workspace::findClient(Predicate predicate, xcb_window_t w) const
|
|||
|
||||
Toplevel *Workspace::findToplevel(std::function<bool (const Toplevel*)> func) const
|
||||
{
|
||||
if (X11Client *ret = Toplevel::findInList(clients, func)) {
|
||||
if (auto *ret = Toplevel::findInList(m_allClients, func)) {
|
||||
return ret;
|
||||
}
|
||||
if (Unmanaged *ret = Toplevel::findInList(unmanaged, func)) {
|
||||
|
|
Loading…
Reference in a new issue