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

Ander Conselvan de Oliveira conselvan2 at gmail.com
Mon May 5 07:02:15 PDT 2014


From: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>

Otherwise it might receive touch events.

https://bugs.freedesktop.org/show_bug.cgi?id=78207

---
 clients/window.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/clients/window.c b/clients/window.c
index b7febed..f667cdf 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -1992,6 +1992,7 @@ window_create_tooltip(struct tooltip *tooltip)
 	widget_set_allocation(tooltip->widget,
 			      tooltip->x, tooltip->y + offset_y,
 			      extents.width + 20, 20 + margin * 2);
+	widget_input_region_add(tooltip->widget, NULL);
 
 	return 0;
 }
-- 
1.8.3.2



More information about the wayland-devel mailing list