[Wayland-bugs] [Bug 729215] Please implement Wayland subsurfaces
gtk+ (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Aug 22 05:37:37 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=729215
gtk+ | Backend: Wayland | 3.13.x
Carlos Garnacho <carlosg> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |carlosg at gnome.org
--- Comment #4 from Carlos Garnacho <carlosg at gnome.org> 2014-08-22 12:37:32 UTC ---
I'm attaching a few alternative patches that implement this as a separate
GdkWindowType. Given timing/schedule restrictions, and with an eye into fixing
bug #695504, I've taken a couple of stop-gap solutions in the patches:
- GDK_WINDOW_SUBSURFACE windows are only honored in wayland so far, other
backends will chicken out. So far every usage should be surrounded by
GDK_IS_WAYLAND_DISPLAY checks.
- these windows (ab)use the transient_for window's surface as the parent when
creating the subsurface, instead of gdk_window_get_parent(), this is purely
convenient for the time being as the most glaring cases in need for subsurfaces
in the gtk/ side are currently implemented through GTK_WINDOW_POPUP windows,
and this allows us to do the quick change by changing the window type and
setting a transient.
--
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