summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-09-18 14:14:37 +0100
committerTom Hacohen <tom@stosb.com>2013-09-18 14:14:37 +0100
commitc08d6e0bf8350e69bc5aa824dcb2889952dd2cf8 (patch)
tree29b206843fcf318c019033440863b29d13c2209c
parentdb6be5cba076ff66dc58491972b30506d98f4df3 (diff)
Revert "elm_gesture_layer: Fix potential NULL pointer dereference."
This reverts commit 824ee3c56b1a23a082b5e5d1016d8e872a51fbce. This commit breaks many gestures that are not "pointer" based. For example, zooming with Ctrl+Wheel. But not only.
-rw-r--r--src/lib/elm_gesture_layer.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/elm_gesture_layer.c b/src/lib/elm_gesture_layer.c
index 9e64e9e24..4adbb03ba 100644
--- a/src/lib/elm_gesture_layer.c
+++ b/src/lib/elm_gesture_layer.c
@@ -1347,10 +1347,8 @@ _event_process(void *data,
1347 ELM_GESTURE_LAYER_DATA_GET(data, sd); 1347 ELM_GESTURE_LAYER_DATA_GET(data, sd);
1348 1348
1349 /* Start testing candidate gesture from here */ 1349 /* Start testing candidate gesture from here */
1350 if (!_pointer_event_make(data, event_info, event_type, &_pe)) 1350 if (_pointer_event_make(data, event_info, event_type, &_pe))
1351 return; 1351 pe = &_pe;
1352
1353 pe = &_pe;
1354 1352
1355 /* Test all the gestures */ 1353 /* Test all the gestures */
1356 { 1354 {