WindowSelector: fix finding unmanaged windows

This typo was preventing the method from actually finding the
requested window if turned to be unmanaged
This commit is contained in:
Ismael Asensio 2020-10-29 23:26:45 +01:00
parent e0c965d316
commit 3d828d891c

View file

@ -246,7 +246,7 @@ void WindowSelector::selectWindowId(xcb_window_t window_to_select)
if (client) {
m_callback(client);
} else {
m_callback(Workspace::self()->findUnmanaged(window));
m_callback(Workspace::self()->findUnmanaged(window_to_select));
}
}