xwayland: make X11 always-on-top request opt-in

Fixes: #3441
This commit is contained in:
Consolatis 2026-03-12 13:08:18 +01:00
parent a3646721bc
commit 4faab834f9
6 changed files with 27 additions and 2 deletions

View file

@ -110,6 +110,10 @@ window_rules_get_property(struct view *view, const char *property)
&& !strcasecmp(property, "iconPreferClient")) {
return rule->icon_prefer_client;
}
if (rule->allow_always_on_top
&& !strcasecmp(property, "allowAlwaysOnTop")) {
return rule->allow_always_on_top;
}
}
}
return LAB_PROP_UNSPECIFIED;