[Wayland-bugs] [Bug 759738] wayland: use a subsurface for GDK_WINDOW_TEMP if attached to a toplevel

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Mon Dec 21 05:41:05 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=759738

--- Comment #1 from Olivier Fourdan <ofourdan at redhat.com> ---
Created attachment 317735
  --> https://bugzilla.gnome.org/attachment.cgi?id=317735&action=edit
wayland: prefer subsurface when possible

Quite a few applications use GTK_WINDOW_POPUP to create various temporary
windows and place then on screen. That works fine on X11 but on Wayland there
is no global coordinate system for regular surfaces.

If the application is using a gdk temp window and set a parent with
gtk_window_transient_for(), the gdk wayland backend has all it needs to create
a subsurface that can be placed at will by the application.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20151221/f18ea554/attachment.html>


More information about the wayland-bugs mailing list