[Wayland-bugs] [Bug 695861] Allow to use custom surfaces for GdkWindows in Wayland

gtk+ (bugzilla.gnome.org) bugzilla at gnome.org
Thu Mar 28 07:11:46 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=695861
  gtk+ | wayland | 3.7.x

--- Comment #14 from Kristian Høgsberg <krh at bitplanet.net> 2013-03-28 14:11:43 UTC ---
(In reply to comment #13)
> (In reply to comment #12)
> > I've noticed you placed the realize function and the overlay surface passing
> > inside a callback. That didn't work for me though.
> 
> reiterating: realize callback worked but didn't solve my real issue.

The point of moving the set_use_custom_surface to the realize callback is that
we create and destroty the wl_surface when we show and hide the GTK+ window. 
So if we call gtk_widget_hide() and then gtk_widget_show() we need to set the
custom surface again, which is handled in the realize callback.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Wayland-bugs mailing list