Go to file
Olivier Fourdan 76012506ff wayland: Preserve the event mask on the root window
A window manager must select the SubstructureRedirect mask on the root
window to receive the MapRequest from the X11 clients and manage the
windows. Without this event mask set, a window manager won't be able to
map any new window.

The Wayland selection code in mutter can change/clear the event mask on
the requestor window from a XSelectionRequest event when the window is
not managed by mutter/gnome-shell.

A rogue or simply buggy X11 client may send a XConvertSelection() on the
root window and mutter will happily change/clear its own event mask on
the root window, effectively turning itself into a regular X11 client
unable to map any new X11 window from the other X11 clients.

To avoid this, simply check that the requestor window is not the root
window prior to change/clear the event mask on that window.

https://bugzilla.gnome.org/show_bug.cgi?id=776128
2016-12-15 13:01:57 +01:00
clutter build: Fix cogl include paths of tests 2016-11-23 23:12:55 +01:00
cogl cogl: Do not include both GLES2 and GL headers 2016-12-02 18:15:39 +01:00
data build: Say good-bye to intltool 2016-08-19 11:04:48 +02:00
doc docs: drop docs 2016-04-12 20:03:29 +02:00
po Updated Norwegian bokmål translation. 2016-11-21 08:47:23 +01:00
src wayland: Preserve the event mask on the root window 2016-12-15 13:01:57 +01:00
tools Clean up the source tree 2014-03-18 20:37:35 -04:00
.gitignore wayland: Add support for the xdg-foreign protocol 2016-08-22 21:03:41 +08:00
autogen.sh clutter: prune out non library bits 2016-04-12 20:03:27 +02:00
configure.ac Bump version to 3.23.2 2016-11-23 23:12:55 +01:00
COPYING clutter: prune out non library bits 2016-04-12 20:03:27 +02:00
Makefile.am Fix the merged build 2016-04-27 20:37:47 +02:00
mutter.doap doap: add <programming-language> 2014-07-31 17:50:28 +02:00
NEWS Bump version to 3.23.2 2016-11-23 23:12:55 +01:00