mirror of
https://github.com/brl/mutter.git
synced 2025-01-22 17:38:56 +00:00
Florian Müllner
048ba353c4
window: Don't make windows on non-primaries sticky on restart
When workspaces-only-on-primary is set, a window can be on all workspaces either because it is on a non-primary workspace, or because it was explicitly made sticky. Only the latter is reflected in _NET_WM_STATE, but both will result in a "magic" _NET_WM_DESKTOP, which we (and probably other WMs) use to set the initial sticky state. So to avoid confusing other WMs (or ourselves), make sure to only have _NET_WM_STATE_STICKY reflected in _NET_WM_DESKTOP when unmanaging.
…
…
…
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%