xserver/hw/xwayland
Michel Dänzer b259485975 xwayland: Delete all frame_callback_list nodes in xwl_unrealize_window
We were only calling xwl_present_unrealize_window for the toplevel
window, but the list can contain entries from child windows as well,
in which case we were leaving dangling pointers to freed memory.

Closes: https://gitlab.freedesktop.org/xorg/xserver/issues/1000
Fixes: c5067feaee "xwayland: Use single frame callback for Present
                     flips and normal updates"
Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
Tested-by: Olivier Fourdan <ofourdan@redhat.com>
(cherry picked from commit 5e91587302)
2020-03-18 09:39:02 +01:00
..
.gitignore glamor: Implement PixmapFromBuffers and BuffersFromPixmap 2018-03-05 13:27:49 -05:00
Makefile.am xwayland: Add glamor egl_backend for EGLStreams 2018-04-24 16:51:18 -04:00
drm.xml wayland: Sync drm.xml with Mesa 2017-07-05 10:13:04 -04:00
meson.build xwayland: Add glamor egl_backend for EGLStreams 2018-04-24 16:51:18 -04:00
xwayland-cursor.c xwayland: Reset scheduled frames after hiding tablet cursor 2019-06-06 11:48:13 +02:00
xwayland-cvt.c xwayland: Add hack for FWXGA resolution #99574 2017-02-08 12:32:16 -05:00
xwayland-glamor-eglstream.c glamor/xwayland: Define EGL_NO_X11 2019-11-05 08:12:03 -08:00
xwayland-glamor-gbm.c xwayland/glamor-gbm: Handle DRM_FORMAT_MOD_INVALID gracefully 2020-03-12 08:22:13 +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-05 08:12:03 -08:00
xwayland-input.c xwayland: Avoid a crash on pointer enter with a grab 2019-06-05 15:12:31 +02:00
xwayland-output.c xwayland: Expand the RANDR screen size limits 2019-07-26 19:44:03 +00:00
xwayland-present.c xwayland: Delete all frame_callback_list nodes in xwl_unrealize_window 2020-03-18 09:39:02 +01:00
xwayland-shm.c xserver: Check the right HAVE_*_CONFIG_H. 2017-03-23 13:17:39 -04:00
xwayland-vidmode.c xwayland: Pretend we support viewport in vidmode 2016-03-28 14:10:59 -04:00
xwayland.c xwayland: Delete all frame_callback_list nodes in xwl_unrealize_window 2020-03-18 09:39:02 +01:00
xwayland.h xwayland: Delete all frame_callback_list nodes in xwl_unrealize_window 2020-03-18 09:39:02 +01:00