diff options
author | Olivier Fourdan <ofourdan@redhat.com> | 2016-11-02 11:51:54 +0100 |
---|---|---|
committer | Olivier Fourdan <ofourdan@redhat.com> | 2016-11-03 08:50:34 +0100 |
commit | 2324b96a325532ba05d5eeb388e9d8f4aeef2a7f (patch) | |
tree | 9bf145cb4943b55dfb221c771f6479deb0bdd749 /gtk/gtk-win32.rc.body.in | |
parent | c9a313a125923ff832400728108901dd714aaade (diff) | |
download | gtk+-2324b96a325532ba05d5eeb388e9d8f4aeef2a7f.tar.gz |
wayland: check valid pending cairo surface
gdk_wayland_window_attach_image() is normally called from
gdk_window_end_paint() to notify the compositor of newly staged drawing.
If any of the drawing code inadvertently dispatches the wayland event
loop (for instance with a gdk_flush() call), then it's possible that by
the time gdk_window_end_paint() is called, the staged drawing is already
destroyed.
This commit bypasses the attach_image call in scenarios where the staged
drawing is prematurely dropped.
https://bugzilla.gnome.org/show_bug.cgi?id=773274
Diffstat (limited to 'gtk/gtk-win32.rc.body.in')
0 files changed, 0 insertions, 0 deletions