• Jeffrey Smith's avatar
    backends/x11: Fix time-comparison bug causing hang · 6be56de1
    Jeffrey Smith authored
    A comparison in translate_device_event() does not account for the fact
    that X's clock wraps about every 49.7 days.  When triggered, this causes
    an unresponsive GUI.
    
    Replace simple less-than comparison with XSERVER_TIME_IS_BEFORE macro,
    which accounts for the wrapping of X's clock.
    
    Closes: GNOME/mutter#12
    6be56de1
Name
Last commit
Last update
clutter Loading commit data...
cogl Loading commit data...
data Loading commit data...
doc Loading commit data...
po Loading commit data...
src Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
mutter.doap Loading commit data...