Commit b0e3a04b authored by Carlos Garnacho's avatar Carlos Garnacho Committed by Emmanuele Bassi

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 42f6828c)
Signed-off-by: 's avatarEmmanuele Bassi <ebassi@gnome.org>
parent 79767b64
......@@ -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);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment