[PATCH weston] window.c: Set the input region of the tooltip to empty

Jasper St. Pierre jstpierre at mecheye.net
Wed May 7 11:05:59 PDT 2014


Events aren't delivered to surfaces. They're delivered to clients.


On Wed, May 7, 2014 at 2:02 PM, Bill Spitzak <spitzak at gmail.com> wrote:

> On 05/07/2014 01:47 AM, Pekka Paalanen wrote:
>
>  It is for normal windows like registered with xdg_shell where
>> sub-surfaces are not suitable for tooltips. A sub-surface is a part of
>> the window, not another window. A tooltip is not expected to change the
>> window geometry, but a sub-surface does count into the window geometry.
>> Extruding sub-surfaces therefore affect the (parent) window geometry. It
>> is in the protocol spec.
>>
>
> Are you saying that a sub-surface that extends outside the area of the
> parent surface should cause mouse/touch events in this extended area to be
> delivered to the parent?
>
> My personal feeling is that the intuitive approach that events are
> delivered "normally" to subsurfaces is the correct one. Especially if
> subsurfaces are going to be the method of embedding one client inside
> another. I think it is ok to say that subsurfaces with non-empty input
> areas are broken in toytoolkit.
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>



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


More information about the wayland-devel mailing list