[Wayland-bugs] [Bug 729215] Please implement Wayland subsurfaces

gtk+ (bugzilla.gnome.org) bugzilla at gnome.org
Thu May 1 02:48:49 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=729215
  gtk+ | Backend: Wayland | 3.13.x

Julien Isorce <julien.isorce> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |julien.isorce at gmail.com

--- Comment #1 from Julien Isorce <julien.isorce at gmail.com> 2014-05-01 09:48:43 UTC ---
Currently in gtk, there is only one wl_surface per toplevel GtkWidget. This
patch only adds the possibility to glue a wl_surface to the gtk one.

Then the gtk toolkit does not know how to deal with it so that when the layout
changes (ex: resizing), it will not work properly.

I think the subsurface should be created when calling gdk_window_ensure_native
(gdkwindow), unless this is already the GdkWindow of the toplevel GtkWidget.

Then make positioning and resizing managed internally by the gtk toolkit,
accordling to its parent widget.

This way the user would not even know that gtk has created a subsurface. And if
really needed he would still be able to retrieve the wl_surface pointer thanks
to "gdk_wayland_window_get_wl_surface".

But your patch it's a start, thx for that :)

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