mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 18:40:40 -05:00
f6ba3bdfc2
This commits adds a gtk_surface.present request and its implementation. The timestamp is assumed to be from some input event that the client responded to. The timestamps we deal with when managing windows will usually come from two different clocks: CLOCK_MONOTONIC if they come from libinput/evdev, or CLOCK_MONOTONIC_COARSE if they come from the X server. Luckily these are quite similar, the difference beeing that the X server timestamps having lower resolution, so we can just pass the timestamps no matter where they came from and it'll most likely work fine, except for the race condition described in bug 756272 which might happen here too until it is properly fixed. https://bugzilla.gnome.org/show_bug.cgi?id=763295 |
||
---|---|---|
.. | ||
gtk-primary-selection.xml | ||
gtk-shell.xml |