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

Simplify Toplevel::isOnDesktop() and Toplevel::isOnAllDesktops()

Wayland- and X11-specific code paths are not needed.

If the window is on all virtual desktops, Toplevel::desktops() will be
an empty list.

If the window is on a particular virtual desktop, Toplevel::desktops()
will contain that desktop. On X11, the desktops list can have at most
only one item.
parent 724f9a5d
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