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

gtk+ (bugzilla.gnome.org) bugzilla at gnome.org
Thu Mar 28 06:55:57 PDT 2013


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

--- Comment #12 from Tiago Vignatti <tiago.vignatti at linux.intel.com> 2013-03-28 13:55:51 UTC ---
(In reply to comment #11)
> I updated my overlay-plugin example above to use the final upstream API, seems
> to work fine.  Maybe take a look there to see it's how hooked up?

I've noticed you placed the realize function and the overlay surface passing
inside a callback. That didn't work for me though.

Note that in my example if I simply avoid the call of     
gdk_wayland_window_set_use_custom_surface(), followed by
desktop_shell_set_background(), everything works fine; the surfaced is placed
top-level then and cursor set is also performed by the application
(wl_pointer_set_cursor). So that suggests that my application is written
correctly now.

Which examples besides the overlay you guys used for implementing the custom
surfaces API? Thank you.

-- 
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