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;
|
gulong *serial = (gulong *)arg;
|
||||||
|
|
||||||
if (xev->xany.type == Expose)
|
if (xev->xany.type == Expose || xev->xany.type == GraphicsExpose)
|
||||||
*serial = MIN (*serial, xev->xany.serial);
|
*serial = MIN (*serial, xev->xany.serial);
|
||||||
|
|
||||||
return False;
|
return False;
|
||||||
|
Loading…
Reference in New Issue
Block a user