1
0
Fork 0
mutter-performance-source/src/x11
Georges Basile Stavracas Neto 822c2666f5 window: Let implementations finish state changes
In the old, synchronous X.org world, we could assume that
a state change always meant a synchronizing the window
geometry right after. After firing an operation that
would change the window state, such as maximizing or
tiling the window,

With Wayland, however, this is not valid anymore, since
Wayland is asynchronous. In this scenario, we call
meta_window_move_resize_internal() twice: when the user
executes an state-changing operation, and when the server
ACKs this operation. This breaks the previous assumptions,
and as a consequence, it breaks the GNOME Shell animations
in Wayland.

The solution is giving the MetaWindow control over the time
when the window geometry is synchronized with the compositor.
That is done by introducing a new result flag. Wayland asks
for a compositor sync after receiving an ACK from the server,
while X11 asks for it right away.

Fixes #78
2018-04-25 21:55:05 -03:00
..
atomnames.h xwayland: add _XWAYLAND_MAY_GRAB_KEYBOARD property 2017-12-18 13:15:13 +01:00
events.c xwayland: add _XWAYLAND_MAY_GRAB_KEYBOARD property 2017-12-18 13:15:13 +01:00
events.h Move all X11 event processing to a new file in x11/ 2014-06-11 16:28:45 -04:00
group-private.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
group-props.c Remove trailing whitespace 2014-05-02 09:34:48 -04:00
group-props.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
group.c group: Convert code to XCB to prevent errors 2015-08-05 13:39:23 -07:00
iconcache.c iconcache: Mark surfaces as dirty after changing data 2015-10-16 04:04:31 +02:00
iconcache.h x11: Change the iconcache / window icons to being cairo surfaces 2014-12-31 21:11:21 -08:00
mutter-Xatomtype.h mutter-Xatomtype: Fix the sizes of these structs 2015-06-23 11:46:29 -07:00
session.c session: use initial workspace if no workspace set 2018-01-25 10:47:44 +01:00
session.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
window-props.c window-props: Fix frame update on hide-titlebar-when-maximized changes 2017-04-27 23:04:08 +02:00
window-props.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
window-x11-private.h xwayland: Add MetaWindowXwayland 2017-12-18 13:15:09 +01:00
window-x11.c window: Let implementations finish state changes 2018-04-25 21:55:05 -03:00
window-x11.h xwayland: Add MetaWindowXwayland 2017-12-18 13:15:09 +01:00
xprops.c x11/xprops: Plug a few memory leaks 2017-02-21 19:51:46 +01:00
xprops.h xprops: More Xlib / long cleanliness with Motif WM hints 2015-06-24 14:34:48 -07:00