[Wayland-bugs] [Bug 766284] [Wayland] gtk_window_present() not working

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Mon Mar 5 10:15:52 UTC 2018


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

--- Comment #45 from Cédric Bellegarde <cedric.bellegarde at adishatz.org> ---
I tried to fix the issue using present_with_time() but timestamp seems to be a
GdkX11 thing...

>timestamp = gtk_get_current_event_time ();

>I don't think GDK_CURRENT_TIME should reach gdk

Matthias, it should not but when you react to external events in your software:
- Opening a new link in a browser
- Raising window when software is launched from command line but already
running

gtk_get_current_event_time() will return GDK_CURRENT_TIME.

So I guess the check in gdk_wayland_window_focus is wrong.

-- 
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/20180305/d5593de0/attachment.html>


More information about the wayland-bugs mailing list