mirror of
https://github.com/brl/mutter.git
synced 2025-02-04 07:34:09 +00:00
Olivier Fourdan
4e82a751fb
window: check for possible loop in transients
If a broken or naughty application tries set up its windows to create a loop in the transient relationship, mutter will hang, looping forever in meta_window_foreach_ancestor() To avoid looping infinitely at various point in the code, check for a possible loop when setting the transient relationship and deny the request to set a window transient for another if that would create a loop. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=759299
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%