xserver/hw/xwayland
Olivier Fourdan 1cb886bc2a xwayland: Recycle window buffers when setting pixmap
Right now, we would recycle the window buffers whenever the window the
window is resized.

This, however, is not sufficient to guarantee that the buffers are up
to date, since changing the window border width for example would not
trigger a `WindowResize` (the border being outside the window).

Make sure we recycle the buffers on `SetWindowPixmap` to ensure that
the buffers will be recycled whenever the pixmap size is changed.

Related: https://gitlab.freedesktop.org/xorg/xserver/issues/951
Suggested-by: Michel Dänzer <mdaenzer@redhat.com>
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
2019-12-13 16:11:09 +01:00
..
.gitignore xwayland: Add wp_viewport wayland extension support 2019-10-12 12:19:14 +02:00
Makefile.am xwayland: Add multiple window buffering support 2019-11-28 17:32:44 +01:00
drm.xml wayland: Sync drm.xml with Mesa 2017-07-05 10:13:04 -04:00
meson.build xwayland: Add multiple window buffering support 2019-11-28 17:32:44 +01:00
xwayland-cursor.c xwayland: Use buffer_damage instead of surface damage if available 2019-10-12 12:19:14 +02:00
xwayland-cvt.c xwayland: Add hack for FWXGA resolution #99574 2017-02-08 12:32:16 -05:00
xwayland-glamor-eglstream.c xwayland: Add buffer release callback 2019-11-28 17:32:44 +01:00
xwayland-glamor-gbm.c xwayland: Add buffer release callback 2019-11-28 17:32:44 +01:00
xwayland-glamor-xv.c xwayland: use the lowercase xnf.*alloc API 2017-09-06 08:56:39 +10:00
xwayland-glamor.c glamor/xwayland: Define EGL_NO_X11 2019-11-04 20:49:33 +01:00
xwayland-glx.c glamor/xwayland: Define EGL_NO_X11 2019-11-04 20:49:33 +01:00
xwayland-input.c xwayland: Add support for randr-resolution change emulation using viewport 2019-10-12 12:19:14 +02:00
xwayland-output.c xserver: Fix a typo 2019-10-16 18:57:31 +00:00
xwayland-present.c xwayland: Do flush GPU work in xwl_present_flush 2019-12-03 18:24:34 +01:00
xwayland-shm.c xwayland: Add buffer release callback 2019-11-28 17:32:44 +01:00
xwayland-vidmode.c xwayland: Add vidmode mode changing emulation support 2019-10-12 12:19:14 +02:00
xwayland-window-buffers.c xwayland: Add multiple window buffering support 2019-11-28 17:32:44 +01:00
xwayland-window-buffers.h xwayland: Add multiple window buffering support 2019-11-28 17:32:44 +01:00
xwayland.c xwayland: Recycle window buffers when setting pixmap 2019-12-13 16:11:09 +01:00
xwayland.h xwayland: Add multiple window buffering support 2019-11-28 17:32:44 +01:00