mirror of
https://github.com/brl/mutter.git
synced 2025-02-19 06:34:09 +00:00

meta_backend_x11_grab_device is performing X server clock comparison using the MAX macro, which comes down to a simple greater-than. Use XSERVER_TIME_IS_BEFORE, which is a better macro for X server clock comparisons, as it accounts for 32-bit wrap-around. https://gitlab.gnome.org/GNOME/mutter/merge_requests/174 (cherry picked from commit 1bfa20929b36d06cc23667d1122175149615b56d)