[PATCH weston 3/8] westoy: Use subsurfaces for tooltips instead of transient windows

Jasper St. Pierre jstpierre at mecheye.net
Wed Nov 13 12:52:49 PST 2013


On Wed, Nov 13, 2013 at 3:36 PM, Bill Spitzak <spitzak at gmail.com> wrote:

> Jasper St. Pierre wrote:
>
>  Transient windows, at least not as they are today, don't exist in
>> xdg_shell. Subsurfaces allow for specially placed surfaces relative
>> to a window, so use these instead.
>>
>
> So you noticed that subsurfaces and transient windows are very similer,
> huh? :-)
>
> In all seriousness, I strongly suggest that these concepts be merged.
> There is no difference except the compositor is not allowed to insert other
> surfaces in the stacking between a subsurface and it's parent, while it is
> allowed to do this for a transient.
>

Transients, as they existed in wl_shell_surface, have been removed from
xdg_shell and aren't coming back. There is a new set_transient_for request,
but it's more to provide something like the ICCCM WM_TRANSIENT_FOR
property: associating modal dialogs with their "parent window".

-- 
  Jasper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20131113/3725c0cb/attachment.html>


More information about the wayland-devel mailing list