gtk2/gdk/wayland
Olivier Fourdan 77a5d00047 wayland: Drop cairo surfaces when withdrawing
If a surface is unmapped by the client while gdk is processing updates,
(for example Firefox un-mapping its window on Expose events), the
windowing backend resources might be lost (for example with Wayland)
which can cause a crash in end_paint().

Make sure we drop the cairo surfaces as well when hiding the surface,
that will avoid the crash in gdk_surface_impl_wayland_end_paint() when
trying to attach the staging cairo surface to a released wl_surface,
these will be recreated when needed when the surface becomes visible
again and there is no need to keep such buffers around for a surface
which is not visible anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=793062
2018-03-20 18:49:56 +01:00
..
protocol Wayland: Implement KDE's SSD protocol 2017-10-26 15:51:56 -04:00
gdkapplaunchcontext-wayland.c Drop gdk_app_launch_context_set_screen 2017-10-30 23:01:34 -04:00
gdkclipboard-wayland.c wayland: Use g_message for logging 2018-01-14 17:05:04 -05:00
gdkclipboard-wayland.h wayland: Implement reading the clipboard 2017-12-03 05:46:49 +01:00
gdkcursor-wayland.c gdk: Drop some unused cursor apis 2018-01-16 23:32:01 -05:00
gdkdevice-wayland.c GdkSurface: Rename lots of stuff from window->surface 2018-03-20 15:14:10 +01:00
gdkdisplay-wayland.c GdkSurface: Rename lots of stuff from window->surface 2018-03-20 15:14:10 +01:00
gdkdisplay-wayland.h GdkWindow -> GdkSurface: File renames 2018-03-20 11:46:11 +01:00
gdkdnd-wayland.c GdkSurface: Rename lots of stuff from window->surface 2018-03-20 15:14:10 +01:00
gdkeventsource.c Drop the Big GDK Lock 2018-02-03 12:07:10 +01:00
gdkglcontext-wayland.c GdkSurface: Rename lots of stuff from window->surface 2018-03-20 15:14:10 +01:00
gdkglcontext-wayland.h GdkSurface: Rename lots of stuff from window->surface 2018-03-20 15:14:10 +01:00
gdkkeys-wayland.c wayland: Use g_message for logging 2018-01-14 17:05:04 -05:00
gdkmonitor-wayland.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkmonitor-wayland.h wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkprimary-wayland.c Allow binding GdkContentFormatsBuilder 2018-02-03 16:24:13 +01:00
gdkprimary-wayland.h wayland: Add primary clipboard subclass 2017-12-03 05:46:49 +01:00
gdkprivate-wayland.h GdkSurface: Rename lots of stuff from window->surface 2018-03-20 15:14:10 +01:00
gdkseat-wayland.h wayland: Remove GdkWaylandDataDevice typedef 2016-03-21 17:15:59 +01:00
gdkselection-wayland.c GdkSurface: Rename various functions and variables 2018-03-20 12:05:26 +01:00
gdksurface-wayland.c wayland: Drop cairo surfaces when withdrawing 2018-03-20 18:49:56 +01:00
gdkvulkancontext-wayland.c GdkSurface: Rename lots of stuff from window->surface 2018-03-20 15:14:10 +01:00
gdkvulkancontext-wayland.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkwayland.h GdkWindow -> GdkSurface: File renames 2018-03-20 11:46:11 +01:00
gdkwaylanddevice.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkwaylanddisplay.h gdk/wayland: Use GDK_AVAILABLE_IN_ALL 2018-02-16 19:36:41 +01:00
gdkwaylandglcontext.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkwaylandmonitor.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkwaylandsurface.h GdkSurface: Rename lots of stuff from window->surface 2018-03-20 15:14:10 +01:00
genprotocolfiles.py Enforce UTF-8 encoding when opening C files 2018-01-23 14:04:49 +01:00
meson.build GdkWindow -> GdkSurface: File renames 2018-03-20 11:46:11 +01:00
wm-button-layout-translation.c build: Don't turn off critical warnings 2017-10-06 16:03:08 +02:00
wm-button-layout-translation.h gdk: Relicense translate_wm_button_layout_to_gtk() 2017-04-27 21:05:12 +02:00