mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
xwayland: treat X11 panel views as if fixedPosition rule is set
This commit is contained in:
parent
0a5255f062
commit
83e67b32b6
4 changed files with 33 additions and 2 deletions
|
|
@ -35,7 +35,9 @@ interactive_begin(struct view *view, enum input_mode mode, uint32_t edges)
|
|||
return;
|
||||
}
|
||||
|
||||
if (window_rules_get_property(view, "fixedPosition") == LAB_PROP_TRUE) {
|
||||
/* Prevent moving/resizing fixed-position and panel-like views */
|
||||
if (window_rules_get_property(view, "fixedPosition") == LAB_PROP_TRUE
|
||||
|| view_has_strut_partial(view)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue