mutter/src/core
Owen W. Taylor f163a15b13 MetaStackTracker: optimize out unnecessary X restacking
We have a quite accurate view of the X stack, so there's no good reason to ask
the X server to do restacking that has no effect. (Restackings that have no
effect on either X windows or Wayland windows were generally optimized out in
the synchronization code, but in other cases like moving an X window that is
only beneath Wayland windows to the top of the stack we would make such
requests.)

Removing such requests:
 - Is a small efficiency win in itself
 - Allows us to immediately go ahead and apply Wayland changes to the verified stack
 - Prevents queued Wayland changes piling up waiting for an X event that will never
   be received, since the X server will not send confirmation of no-op restacks.

Since such operations may still have an effect on the relative stacking of X
and Wayland windows, we need to continue applying them to the local stack.

https://bugzilla.gnome.org/show_bug.cgi?id=736559
2014-09-12 13:42:56 -04:00
..
barrier.c display: Move barrier event processing to barrier.c 2013-11-12 16:53:14 -05: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: Move placement code from the constraints path" 2014-06-24 22:59:06 +02:00
constraints.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
core.c core: Remove useless meta_invalidate_default_icons implementation 2014-07-14 12:00:34 -04:00
core.h Don't add in our old input event mask when we select input events 2014-07-10 13:30:05 -04:00
delete.c Remove unused Wayland includes 2014-07-13 11:35:01 -04:00
display-private.h Replace MetaStackWindow with a 64-bit "stack ID" 2014-09-12 13:42:56 -04:00
display.c Replace MetaStackWindow with a 64-bit "stack ID" 2014-09-12 13:42:56 -04: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 events: Update the pointer position here 2014-08-21 17:00:55 -04:00
events.h Move all X11 event processing to a new file in x11/ 2014-06-11 16:28:45 -04:00
frame.c Replace MetaStackWindow with a 64-bit "stack ID" 2014-09-12 13:42:56 -04:00
frame.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
keybindings-private.h keybindings: Rewrite the keymap code so that it uses libxkbcommon 2014-08-18 09:11:50 -04:00
keybindings.c keybindings: Freeze and ungrab the keyboard only on X11 backend 2014-09-11 19:05:53 +02:00
main.c Moving setting of window-scaling-factor to meta_clutter_init() 2014-09-08 14:40:50 -04:00
meta-accel-parse.c meta_accelerator_parse(): handle keysyms without the XF86 prefix 2014-06-27 10:37:42 -04:00
meta-accel-parse.h Move meta_ui_parse_accelerator into core/ 2014-04-07 10:59:46 -04: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 default: free the option context after parsing 2014-05-07 19:04:54 +02:00
place.c place: Reindent 2014-05-29 13:58:08 -04:00
place.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
prefs.c prefs: Don't crash when we get a preference changed we don't know about 2014-08-19 14:07:55 -04: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 screen: Add the list window flags to meta_screen_foreach_window 2014-08-15 20:21:39 -04:00
screen.c Move manipulation of the X stack to MetaStackTracker 2014-09-12 13:42:56 -04:00
stack-tracker.c MetaStackTracker: optimize out unnecessary X restacking 2014-09-12 13:42:56 -04:00
stack-tracker.h MetaStackTracker: make functions used only internally static 2014-09-12 13:42:56 -04:00
stack.c Move logic for syncing the stack to the X server into MetaStackTracker 2014-09-12 13:42:56 -04:00
stack.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
testboxes.c testboxes: Update test cases 2014-06-12 15:28:46 +02:00
util-private.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
util.c util: Move the text direction stuff out of MetaUI 2014-08-17 22:59:43 -04:00
window-private.h Replace MetaStackWindow with a 64-bit "stack ID" 2014-09-12 13:42:56 -04:00
window.c Replace MetaStackWindow with a 64-bit "stack ID" 2014-09-12 13:42:56 -04:00
workspace-private.h workspace: Add a "workspace-index" property to MetaWorkspace 2014-08-16 14:56:38 -04:00
workspace.c workspace: Clean up code style 2014-09-04 13:55:51 -07:00