[Wayland-bugs] [Bug 774475] New: wayland: gtk+ prevents using subsurfaces if the parent is not root
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Tue Nov 15 13:48:41 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=774475
Bug ID: 774475
Summary: wayland: gtk+ prevents using subsurfaces if the parent
is not root
Classification: Platform
Product: gtk+
Version: 3.22.x
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: Backend: Wayland
Assignee: gtk-bugs at gtk.org
Reporter: ofourdan at redhat.com
QA Contact: gtk-bugs at gtk.org
CC: rob at robster.org.uk, wayland-bugs at lists.freedesktop.org
GNOME version: ---
Description:
Under Wayland, a subsurface would have another surface as parent, but gdk would
not allow native windows if the parent is not the root window:
https://git.gnome.org/browse/gtk+/tree/gdk/gdkwindow.c#n1218
As a result, the subsurface.c example in gtk+ is not actually using a Wayland
sursurface, because the parent is not the root window:
https://git.gnome.org/browse/gtk+/tree/tests/subsurface.c?h=gtk-3-22#n49
Note, the test subsurface.c has been removed from master, but that's unrelated,
a program should be able to create a subsurface with a parent and not just the
root window.
--
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/20161115/d75d6b4d/attachment.html>
More information about the wayland-bugs
mailing list