mutter/src
Olivier Fourdan 68ec9ac017 wayland: No xdg-output events without a logical monitor
To avoid a known race condition in the wl_output protocol documented in
https://phabricator.freedesktop.org/T7722, mutter delays the `wl_output`
destruction but nullify the `logical_monitor` associated with the
`wl_output` and the binding routine `bind_output()` makes sure not to
send wl_output events if the `logical_monitor` is `NULL` (see commit
1923db97).

The binding routine for `xdg_output` however does not check for such a
condition, hence if the output configuration changes while a client is
binding to xdg-output (typically Xwayland at startup), mutter would
crash while trying to access the `logical_monitor` which was nullified
by the change in configuration.

Just like `bind_output()` does for wl_output, do not send xdg-output
events if there is no `logical_monitor` yet.

Closes: https://gitlab.gnome.org/GNOME/mutter/issues/194
2018-09-25 15:14:18 +02:00
..
backends input-settings: detect trackball using udev ID_INPUT_TRACKBALL 2018-09-19 08:48:27 +00:00
compositor compositor: Skip windows not visible to the compositor 2018-09-21 18:50:06 +02:00
core core: Preserve focus across decoration changes 2018-09-24 13:44:53 +00:00
meta keybindings: Ignore auto-repeat events for some keybindings 2018-08-20 10:16:33 +00:00
tests tests: Add "closed-transient" test 2018-07-30 17:48:42 +00:00
ui Split GDK initialization from MetaUI 2018-07-06 19:47:16 +02:00
wayland wayland: No xdg-output events without a logical monitor 2018-09-25 15:14:18 +02:00
x11 core: Preserve focus across decoration changes 2018-09-24 13:44:53 +00:00
.cvsignore
libmutter.pc.in Make libmutter and friends parallel installable 2017-02-14 11:16:45 +08:00
Makefile-tests.am tests: Add "closed-transient" test 2018-07-30 17:48:42 +00:00
Makefile.am wayland: Implement text-input from wayland-protocols 2018-08-14 15:43:21 +00:00
meta-enum-types.c.in Install enum types 2015-07-05 22:01:59 -07:00
meta-enum-types.h.in Install enum types 2015-07-05 22:01:59 -07:00
org.freedesktop.login1.xml MetaLauncher: Don't g_error() on failure 2015-11-06 17:03:59 -05:00
org.gnome.Mutter.DisplayConfig.xml fixed typo 2018-07-24 13:16:36 +00:00
org.gnome.Mutter.IdleMonitor.xml idle-monitor: Add ResetIdletime API, for testing purposes 2018-04-16 13:28:03 +02:00
org.gnome.Mutter.RemoteDesktop.xml remote-desktop, screen-cast: Add version number to D-Bus APIs 2018-02-23 19:33:31 +08:00
org.gnome.Mutter.ScreenCast.xml remote-desktop, screen-cast: Add version number to D-Bus APIs 2018-02-23 19:33:31 +08:00