mirror of
https://github.com/brl/mutter.git
synced 2025-06-27 07:27:05 +00:00
b7119c55a69523d9fd8b392e81329c7819a15a01

Since commita7b7213017
, we rely on the standard property system to initialize the window type (and likewise for the window role since commit031154a400
). However as property hooks are never run for properties that are not set, we end up not initializing the window type correctly for windows with no _NET_WM_WINDOW_TYPE property (which includes virtually all OR windows, causing them to show up in pagers and the Shell overview and resulting in frequent crashes due to breaking reasonable assumptions all over the place). Introduce a new FORCE_INIT flag to allow forcing hooks to run even when the corresponding property is unset, and use it for both _NET_WM_WINDOW_TYPE and _NET_WM_WINDOW_ROLE.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%