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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
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._______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs