summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2014-06-25 12:52:44 +0200
committerEmmanuele Bassi <ebassi@gnome.org>2014-06-26 01:32:00 +0100
commitb0e3a04b12fe7be6a42ec7628a09615213b87689 (patch)
treeb22be9fee84338e10d91a504eeb63e9a8202d462
parent79767b64a9cfc1166c29155ce87d711a9a79f71d (diff)
downloadclutter-b0e3a04b12fe7be6a42ec7628a09615213b87689.tar.gz
input-device: Do not unset the device stage after the last touch is lifted
On X11 the pointer will follow a "pointer emulating" touch sequence, so the pointer will be effectively left inside the stage after that touch is lifted, even though the master device stage is unset. This makes pointer events get ignored until the pointer leaves and enters again the stage. https://bugzilla.gnome.org/show_bug.cgi?id=732234 (cherry picked from commit 42f6828c9cf151e350dd0df47a194cf0ac63a904) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
-rw-r--r--clutter/clutter-input-device.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/clutter/clutter-input-device.c b/clutter/clutter-input-device.c
index 9b05453dc..0bb8a051e 100644
--- a/clutter/clutter-input-device.c
+++ b/clutter/clutter-input-device.c
@@ -1532,9 +1532,6 @@ _clutter_input_device_remove_event_sequence (ClutterInputDevice *device,
}
g_hash_table_remove (device->touch_sequences_info, sequence);
-
- if (g_hash_table_size (device->touch_sequences_info) == 0)
- _clutter_input_device_set_stage (device, NULL);
}
/**