[PATCH wayland-protocols v2] xdg-shell: Introduce xdg_tooltip

Jasper St. Pierre jstpierre at mecheye.net
Wed Feb 3 21:05:44 UTC 2016


On Wed, Feb 3, 2016 at 1:00 PM, Bill Spitzak <spitzak at gmail.com> wrote:
>
>
> On Wed, Feb 3, 2016 at 11:36 AM, Jasper St. Pierre <jstpierre at mecheye.net>
> wrote:
>>
>> set_parent was moved to xdg_toplevel. Perhaps that's a good idea,
>> perhaps it's not. This does mean that a tooltip's parent can never
>> change, and a popup's parent can never change. That can help for
>> getting grab semantics right, though it might be an idea if we say
>> that set_parent on a popup / tooltip simply emit error if a parent is
>> already set. I'm -1 to that, though.
>
>
> xdg_toplevel *must* support the ability to change the parent.

Somehow I get the feeling you're not even reading the words I'm
writing. xdg_toplevel still has a set_parent method, I said it was
moved *to* xdg_toplevel.

... snip rant-y dialogue ...

> The toolkits will hide this. I would agree that defining the delta to be
> from 0,0 for the initial attach, in cases where the position is usable on
> first attach, is a good idea.

Toolkits now have additional state they have to keep track of -- where
the compositor thinks their surface is, relative to themselves. As
mentioned, I'm +0 on the idea. I'll leave it up to Jonas, Guilio and
Mike -- the people actually writing the toolkits in question -- to
determine whether they want it.

-- 
  Jasper


More information about the wayland-devel mailing list