On Tue, 6 May 2014 14:40:53 -0700 Kristian Høgsberg <[email protected]> wrote:
> On Mon, May 05, 2014 at 05:02:15PM +0300, Ander Conselvan de Oliveira > wrote: > > From: Ander Conselvan de Oliveira > > <[email protected]> > > > > Otherwise it might receive touch events. > > I think a better approach is to just hide the tooltip if it (or the > panel) gets touch events. I don't think I agree with Pekka that we > can't use subsurfaces for this, but I guess I'm not sure what the > problem he sees there is. The panel is not a window, so sub-surfaces can be made to work there well enough. 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. Thanks, pq _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
