1
0
Fork 0
mutter-performance-source/src/core
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
2016-02-18 09:03:56 +01:00
..
bell.c bell: Clean up the bell code 2014-08-18 19:49:09 -04:00
bell.h Remove a few extra HAVE_XKBs 2014-08-14 14:19:31 -04:00
boxes-private.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
boxes.c boxes: Ignore struts that don't attach to the side they claim 2014-06-12 15:28:42 +02:00
constraints.c Revert "window: Remove old tiling code" 2016-01-10 15:16:09 +01:00
constraints.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
core.c core: Remove meta_core_change_workspace() 2015-07-23 12:13:45 +02:00
core.h core: Remove meta_core_get_frame_workspace() declaration 2015-07-23 12:13:45 +02:00
delete.c delete: Remove old code 2015-07-05 14:29:56 -07:00
display-private.h Revert "window: Remove old tiling code" 2016-01-10 15:16:09 +01:00
display.c Revert "window: Remove old tiling code" 2016-01-10 15:16:09 +01:00
edge-resistance.c window: Remove meta_window_move as well 2014-05-27 15:44:33 -04:00
edge-resistance.h window: Remove meta_window_move as well 2014-05-27 15:44:33 -04:00
errors.c Remove trailing whitespace 2014-05-02 09:34:48 -04:00
events.c core: Unset "pointer emulating" sequence lazily 2015-12-04 11:47:01 +01:00
events.h Move all X11 event processing to a new file in x11/ 2014-06-11 16:28:45 -04:00
frame.c Revert "window: Remove old tiling code" 2016-01-10 15:16:09 +01:00
frame.h frame: Put a MetaUIFrame* in our MetaFrame 2014-12-31 22:43:00 -08:00
keybindings-private.h Prevent redefinition of MetaKeyCombo 2015-06-26 21:40:44 -07:00
keybindings.c Revert "window: Remove old tiling code" 2016-01-10 15:16:09 +01:00
main.c core: start as wayland display server when XDG_SESSION_TYPE=wayland 2015-11-09 10:25:11 -05:00
meta-accel-parse.c Use more g_autofoo throughout mutter 2015-05-29 17:18:35 -07:00
meta-accel-parse.h keybindings: Have meta_accelerator_parse take a MetaKeyCombo 2015-01-06 19:11:57 -08:00
meta-border.c MetaBorder: Use float constants and functions instead of double variants 2016-02-16 19:02:48 +08:00
meta-border.h Move out generic math parts out of the native barrier implementation 2016-02-16 19:02:48 +08:00
meta-gesture-tracker-private.h events: Simplify gesture event management 2014-07-24 18:05:56 +02:00
meta-gesture-tracker.c events: Simplify gesture event management 2014-07-24 18:05:56 +02:00
mutter.c Fix constness warnings 2015-09-24 03:01:51 +02:00
place.c place: Fix workspace check when collecting relevant windows 2015-01-20 00:00:32 +01:00
place.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
prefs.c theme: Complete removal of "fringe" titlebar button support 2015-10-16 04:13:14 +02:00
restart-helper.c Add a framework for restarting the compositor with nice visuals 2014-07-16 18:09:25 -04:00
restart.c restart: Fix pointer/XID confusion 2014-07-17 11:50:58 -04:00
screen-private.h Revert "window: Add new tiling code" 2016-01-10 15:16:08 +01:00
screen.c Revert "window: Remove old tiling code" 2016-01-10 15:16:09 +01:00
stack-tracker.c Don't restack windows while we are unmanaging them 2014-09-16 13:44:42 -04:00
stack-tracker.h stack-tracker: Make lower_below / raise_above internal as well 2014-09-12 16:56:27 -06:00
stack.c Revert "window: Remove old tiling code" 2016-01-10 15:16:09 +01:00
stack.h Revert "window: Remove old tiling code" 2016-01-10 15:16:09 +01:00
testboxes.c testboxes: Don't avoid parameter list 2015-09-24 03:08:23 +02:00
util-private.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
util.c Annotate functions to improve compiler diagnostics 2015-09-24 03:01:51 +02:00
window-private.h Revert "window: Remove old tiling code" 2016-01-10 15:16:09 +01:00
window.c window: check for possible loop in transients 2016-02-18 09:03:56 +01:00
workspace-private.h workspace: Add a "workspace-index" property to MetaWorkspace 2014-08-16 14:56:38 -04:00
workspace.c Fix constness warnings 2015-09-24 03:01:51 +02:00