[Wayland-bugs] [Bug 78207] Touching tooltip activates weston desktop-shell launcher icons
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon May 12 12:51:07 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=78207
Kristian Høgsberg <krh at bitplanet.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Kristian Høgsberg <krh at bitplanet.net> ---
commit a57c9f1b90a14bbbd5de217f1e44bd443cd3783f
Author: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>
Date: Tue May 6 15:25:40 2014 +0300
window: Ignore input events from subsurfaces
Toytoolkit was not designed to handle input from subsurfaces and
instead it expects subsurfaces to have an empty input region. That way
input events for subsurfaces are generated on the main surface and
there is no need to convert coordinates before reporting the event to
the user.
However it is possible that a subsurface has a non-empty input region,
but in that case those events aren't properly processed. The function
window_find_widget() assumes the coordinates are in the main surface
coordinate space, and ends up chosing the wrong widget.
This patch changes the input code to completely ignore input events from
subsurfaces. This option was chosen instead of ensuring that the input
region on those surfaces is always empty since there's no enforcement
that a subsurface should completely overlap with the main surface. If
an event happens in the area of the surface that doesn't overlap, the
event could cause a completely unrelated surface to be picked.
https://bugs.freedesktop.org/show_bug.cgi?id=78207
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20140512/ddf784fc/attachment.html>
More information about the Wayland-bugs
mailing list