window-rules: add root-toplevel critiera

This commit is contained in:
Johan Malm 2024-01-30 18:04:43 +00:00
parent 96d4e016e2
commit b50f5b7c1e
4 changed files with 8 additions and 0 deletions

View file

@ -127,6 +127,7 @@ desktop_cycle_view(struct server *server, struct view *start_view,
* here and in the osd.c window-switcher code
*/
enum lab_view_criteria criteria = LAB_VIEW_CRITERIA_CURRENT_WORKSPACE
| LAB_VIEW_CRITERIA_ROOT_TOPLEVEL
| LAB_VIEW_CRITERIA_NO_SKIP_WINDOW_SWITCHER;
/*