mutter/src/x11
Rémi Bernon 8f242f8bf0 core: Fix multiple reparent requests handling
If window decoration is modified within a short period of time, mutter
sometimes starts processing the second request before the first
UnmapNotify event has been received. In this situation, it considers
that the window is not mapped and does not expect another UnmapNotify /
MapNotify event sequence to happen.

This adds a separate counter to keep track of the pending reparents. The
input focus is then restored when MapNotify event is received iff all
the expected pending ReparentNotify events have been received.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>

https://gitlab.gnome.org/GNOME/mutter/merge_requests/657
2019-09-02 15:50:37 +00:00
..
atomnames.h x11: Remove hide-titlebar-when-maximized support 2018-11-26 13:12:18 +00:00
events.c core: Fix multiple reparent requests handling 2019-09-02 15:50:37 +00:00
events.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
group-private.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
group-props.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
group-props.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
group.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
iconcache.c iconcache: Avoid xrender picture formats when creating cairo surface 2019-08-27 18:47:41 +03:00
iconcache.h Move X11 event, icon cache and property handling to MetaX11Display 2018-07-06 19:47:16 +02:00
meta-selection-source-x11-private.h Make MetaSelection, MetaSelectionSource and MetaMemorySelectionSource public 2019-05-02 16:31:45 +02:00
meta-selection-source-x11.c x11: Add X11 MetaSelectionSource implementation 2019-05-02 16:22:08 +02:00
meta-startup-notification-x11.c core: Fix differing sequence timestamp precision expectations 2019-04-17 18:41:13 +02:00
meta-startup-notification-x11.h x11: Add method to launch applications, using SnLauncher 2019-01-18 17:03:57 +00:00
meta-x11-display-private.h compositor/x11: Move stage input region setting to MetaX11Display 2019-08-19 08:44:58 +00:00
meta-x11-display.c clutter: Move X11 input to src/backends/x11 2019-08-24 08:59:08 +00:00
meta-x11-errors.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-x11-selection-input-stream-private.h x11: Add X11 selection input/output streams 2019-05-02 15:40:13 +02:00
meta-x11-selection-input-stream.c x11: Add X11 selection input/output streams 2019-05-02 15:40:13 +02:00
meta-x11-selection-output-stream-private.h x11: Add X11 selection input/output streams 2019-05-02 15:40:13 +02:00
meta-x11-selection-output-stream.c x11: Add X11 selection input/output streams 2019-05-02 15:40:13 +02:00
meta-x11-selection-private.h Make MetaSelection, MetaSelectionSource and MetaMemorySelectionSource public 2019-05-02 16:31:45 +02:00
meta-x11-selection.c x11: Do not warn on cancelled X11 selection sources 2019-05-15 13:14:12 +00:00
meta-x11-stack-private.h x11: Add MetaX11Stack object 2019-05-24 15:30:31 +00:00
meta-x11-stack.c core: Move Stack to StackTracker synchronization back to stack.c 2019-08-26 17:39:10 +00:00
mutter-Xatomtype.h mutter-Xatomtype: Fix the sizes of these structs 2015-06-23 11:46:29 -07:00
session.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
session.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
window-props.c window-x11: Fix _XOPEN_SOURCE usage for gethostname on FreeBSD 2019-06-24 09:35:02 +00:00
window-props.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
window-x11-private.h window: Move can_ping to a function and implement in X11 2019-02-13 02:07:41 +00:00
window-x11.c window-x11: Focus a window in the active workspace as take-focus fallback 2019-07-18 10:09:45 +02:00
window-x11.h window: Move can_ping to a function and implement in X11 2019-02-13 02:07:41 +00:00
xprops.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
xprops.h Clean up include macros mess 2018-11-06 17:17:36 +01:00