Skip to content
Commit b85edc08 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Port Workspace::switchWindow() to VirtualDesktop

If a window is on several virtual desktops, Workspace::switchWindow()
will not work as expected because AbstractClient::desktop() returns the
id of the last virtual desktop.

Since the active window is most likely on the current virtual desktop,
we can use that for filtering out irrelevant windows.
parent 7937aa78
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment