mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 18:09:10 +00:00
Jeff Smith
6be56de140
backends/x11: Fix time-comparison bug causing hang
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: https://gitlab.gnome.org/GNOME/mutter/issues/12
…
…
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%