events: Make sure to reset current_time after handling events
Otherwise, we'll have a stale value leftover in current_time that won't be reset until the next event.
This commit is contained in:
parent
03c4de5590
commit
4334135c52
1 changed files with 2 additions and 0 deletions
|
@ -1825,6 +1825,7 @@ meta_display_handle_xevent (MetaDisplay *display,
|
||||||
bypass_gtk = TRUE;
|
bypass_gtk = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
display->current_time = CurrentTime;
|
||||||
return bypass_gtk;
|
return bypass_gtk;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1972,6 +1973,7 @@ meta_display_handle_event (MetaDisplay *display,
|
||||||
bypass_clutter = TRUE;
|
bypass_clutter = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
display->current_time = CurrentTime;
|
||||||
return bypass_clutter;
|
return bypass_clutter;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue