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

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Thu Aug 25 11:04:48 UTC 2016


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

--- Comment #14 from Matthias Clasen <mclasen at redhat.com> ---
But look at this code in gtk_window_present_with_time:

      /* Translate a timestamp of GDK_CURRENT_TIME appropriately */
      if (timestamp == GDK_CURRENT_TIME)
        {
#ifdef GDK_WINDOWING_X11
          if (GDK_IS_X11_WINDOW(gdk_window))
            {
              GdkDisplay *display;

              display = gtk_widget_get_display (widget);
              timestamp = gdk_x11_display_get_user_time (display);
            }
          else
#endif
            timestamp = gtk_get_current_event_time ();
        }

      gdk_window_focus (gdk_window, timestamp);


I don't think GDK_CURRENT_TIME should reach gdk

-- 
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/20160825/e9703baf/attachment-0001.html>


More information about the wayland-bugs mailing list