mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 04:42:14 +00:00
window: Consider stickiness changes on feature recalc
Some properties like the window type can affect the stickiness. Make sure workspaces are updated in that case to pick up the change. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3305>
This commit is contained in:
parent
b9008ee83d
commit
6a22b52579
@ -5687,6 +5687,9 @@ meta_window_recalc_features (MetaWindow *window)
|
||||
if (old_skip_taskbar != window->skip_taskbar)
|
||||
g_object_notify_by_pspec (G_OBJECT (window), obj_props[PROP_SKIP_TASKBAR]);
|
||||
|
||||
if (old_always_sticky != window->always_sticky)
|
||||
meta_window_on_all_workspaces_changed (window);
|
||||
|
||||
/* FIXME:
|
||||
* Lame workaround for recalc_features being used overzealously.
|
||||
* The fix is to only recalc_features when something has
|
||||
|
Loading…
Reference in New Issue
Block a user