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

Bill Spitzak spitzak at gmail.com
Wed May 7 11:02:56 PDT 2014


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.


More information about the wayland-devel mailing list