[Wayland-bugs] [Bug 786455] [PATCH] gdk/wayland: allow focusing without a specific timestamp
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Wed Aug 23 12:07:21 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=786455
--- Comment #6 from Xiang Fan <sfanxiang at gmail.com> ---
(In reply to Carlos Garnacho from comment #4)
> I'd like to point out that mutter figuring out a decent timestamp for the
> request does not mean that passing GDK_CURRENT_TIME is correct, nor
> desirable according to the semantics of a "present" request.
>
> What would happen here is that the request gets the timestamp at the time
> Mutter is processing the request, not the time of the input event that
> triggered the window to be shown. The latter is useful to Mutter to
> determine whether there was further activity after the present request, the
> former is a randomly recent timestamp that will beat anything else, and
> pretty much defeats the purpose of a timestamp in the "present" request.
If the event comes from an external source not known to Wayland (e.g. type
gedit in terminal when a gedit window is already open) the client can't figure
out the timestamp anyway. How do we handle this?
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170823/7218288c/attachment.html>
More information about the wayland-bugs
mailing list