diff --git a/plugins/platforms/x11/standalone/windowselector.cpp b/plugins/platforms/x11/standalone/windowselector.cpp index 18a0810c3f..1cfd0e0a28 100644 --- a/plugins/platforms/x11/standalone/windowselector.cpp +++ b/plugins/platforms/x11/standalone/windowselector.cpp @@ -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)); } }