From 8e917093df600abe822c73c43f39c0ab861350ef Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Thu, 18 Jun 2015 15:09:46 +0200 Subject: [PATCH] demos: Enable multidevice behavior on event-axes demo On wayland we get separate master/slaves for each tablet, we will need to receive crossing events for each master pointer if there's more than one around. --- demos/gtk-demo/event_axes.c | 1 + 1 file changed, 1 insertion(+) diff --git a/demos/gtk-demo/event_axes.c b/demos/gtk-demo/event_axes.c index c2e0b424eb..ea8ed67a1f 100644 --- a/demos/gtk-demo/event_axes.c +++ b/demos/gtk-demo/event_axes.c @@ -408,6 +408,7 @@ do_event_axes (GtkWidget *toplevel) box = gtk_event_box_new (); gtk_container_add (GTK_CONTAINER (window), box); + gtk_widget_set_support_multidevice (box, TRUE); gtk_widget_add_events (box, GDK_POINTER_MOTION_MASK | GDK_BUTTON_PRESS_MASK |