Skip to content

Make WindowRules::checkDesktop take a list of desktops

Vlad Zahorodnii requested to merge work/window-rules-virtual-desktop into master

This ports relevant apis in WindowRules to the VirtualDesktop class.

If the client has no desktop rule, the desktop list that has been passed to the checkDesktops() function will be returned.

If the client has a desktop window rule, the checkDesktop() function will return a list with a single VirtualDesktop object or none if the window is forced to be on all virtual desktops.

Edited by Vlad Zahorodnii

Merge request reports