wayland: Add request focus support via gtk_shell

Desktop / GNOME / GTK - Jonas Ã…dahl [gmail.com] - 9 March 2016 22:31 UTC

A gtk_surface.present request was added to gtk_surface which takes timestamp from some input event, and uses that timestamp to figure out whether the window can be presented or not. If we don't have a timestamp, we should just give up instead of making up our own, otherwise we might steal someones focus.

https://bugzilla.gnome.org/show_bug.cgi?id=763037

8fb7f50 wayland: Add request focus support via gtk_shell
gdk/wayland/gdkwindow-wayland.c | 13 +++++++++++++
gdk/wayland/protocol/gtk-shell.xml | 4 ++++
2 files changed, 17 insertions(+)

Upstream: git.gnome.org


  • Share