wayland: always sync state after a frame is painted
authorGustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Mon, 26 Sep 2016 08:56:42 +0000 (10:56 +0200)
committerSjoerd Simons <sjoerd@debian.org>
Fri, 30 Sep 2016 12:36:52 +0000 (12:36 +0000)
commit10b014ca613b096191ae4b9cc7034e58ec2a12d0
tree168800127c6347496a47a8d3353c65926d50c291
parent132a170f973bd491e97e2b45604c81ebccbba13c
wayland: always sync state after a frame is painted

Opaque region, margin and input region were only being synced when a cairo
paint happened. That caused GL paints to sometimes end up with bad state.
Move calls to sync state to gdk_window_impl_wayland_end_paint.

https://bugzilla.gnome.org/show_bug.cgi?id=771553

Gbp-Pq: Name wayland-always-sync-state-after-a-frame-is-painted.patch
gdk/wayland/gdkwindow-wayland.c