mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Check for GraphicsExpose too in expose_serial_predicate
GraphicsExpose cause invalidation too, so we need to look for such events in addition to normal Expose events.
This commit is contained in:
parent
f019047402
commit
a3ee8271a9
@ -108,7 +108,7 @@ expose_serial_predicate (Display *xdisplay,
|
||||
{
|
||||
gulong *serial = (gulong *)arg;
|
||||
|
||||
if (xev->xany.type == Expose)
|
||||
if (xev->xany.type == Expose || xev->xany.type == GraphicsExpose)
|
||||
*serial = MIN (*serial, xev->xany.serial);
|
||||
|
||||
return False;
|
||||
|
Loading…
Reference in New Issue
Block a user