xserver/hw
Carlos Garnacho 78cc8b6f96 xwayland: Handle the case of windows being realized before redirection
If Xwayland gets to realize a window meant for composition before the
compositor redirected windows (i.e. redirect mode is not RedirectDrawManual
yet), the window would stay "invisible" as we wouldn't create a
wl_surface/wl_shell_surface for it at any later point.

This scenario may happen if the wayland compositor sets up a X11 socket
upfront, but waits to raise Xwayland until there are X11 clients. In this
case the first data on the socket is the client's, the compositor can hardly
beat that in order to redirect subwindows before the client realizes a
Window.

In order to jump across this hurdle, allow the late creation of a matching
(shell) surface for the WindowPtr on SetWindowPixmapProc, so it is ensured
to be created after the compositor set up redirection.

Signed-off-by: Carlos Garnacho <carlosg@gnome.org>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
2019-09-10 00:08:10 +02:00
..
dmx hw/dmx/glxProxy/glxcmds.c CreateContext(): free glxc->real_ids and glxc in a couple of error branches, per complaints from cppcheck. 2019-05-01 15:22:15 -07:00
kdrive ephyr: fix typo: rquires -> requires 2019-04-19 22:13:46 -03:00
vfb Xvfb: set rotations ret value 2019-07-22 12:47:57 +02:00
xfree86 modesetting: Disable atomic support by default 2019-09-03 18:52:02 +00:00
xnest Add ddxInputThread call from os layer into ddx layer 2019-02-25 15:48:03 +00:00
xquartz XQuartz: translate additional mouse buttons 2019-08-24 00:57:02 +00:00
xwayland xwayland: Handle the case of windows being realized before redirection 2019-09-10 00:08:10 +02:00
xwin hw: Rename boolean config value field from bool to boolean 2019-07-22 20:28:27 -04:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00
meson.build meson: Move Xvfb build under an option. 2017-09-20 13:19:21 -04:00