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

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Wed Aug 24 11:34:26 UTC 2016


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

--- Comment #13 from Michael Catanzaro <mcatanzaro at gnome.org> ---
The problem is the second early return (with the comment) here:


static void
gdk_wayland_window_focus (GdkWindow *window,
                          guint32    timestamp)
{
  GdkWindowImplWayland *impl = GDK_WINDOW_IMPL_WAYLAND (window->impl);

  if (!impl->display_server.gtk_surface)
    return;

  /* We didn't have an event to fetch a time from, meaning we have nothing
valid
   * to send. This should rather be translated to a 'needs-attention' request
or
   * something.
   */
  if (timestamp == GDK_CURRENT_TIME)
    return;

  gtk_surface1_present (impl->display_server.gtk_surface, timestamp);
}

-- 
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/20160824/b0b38163/attachment-0001.html>


More information about the wayland-bugs mailing list