window-rules: add root-toplevel critiera

This commit is contained in:
Johan Malm 2024-01-30 18:04:43 +00:00 committed by Consolatis
parent c71fccbcec
commit 79bca44cb1
4 changed files with 8 additions and 0 deletions

View file

@ -410,6 +410,7 @@ display_osd(struct output *output)
wl_array_init(&views);
view_array_append(server, &views,
LAB_VIEW_CRITERIA_CURRENT_WORKSPACE
| LAB_VIEW_CRITERIA_ROOT_TOPLEVEL
| LAB_VIEW_CRITERIA_NO_SKIP_WINDOW_SWITCHER);
float scale = output->wlr_output->scale;