summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-09-18 14:21:24 +0100
committerTom Hacohen <tom@stosb.com>2013-09-18 14:21:24 +0100
commit935d7b24d041b303fba15abcd5b8e887a38c65ea (patch)
treeebbb644193ddb56c0251ab9941188b85e40ebef5
parent265eff94bb6274c284e8e111192f9922906990ac (diff)
Revert "elm_gesture_layer: Fix potential NULL pointer dereference."
This reverts commit 04ad875c1f4568489dcd58d75178d29580f0ba07. 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 b85b266c9..9fdacf1c7 100644
--- a/src/lib/elm_gesture_layer.c
+++ b/src/lib/elm_gesture_layer.c
@@ -1323,10 +1323,8 @@ _event_process(void *data,
1323 ELM_GESTURE_LAYER_DATA_GET(data, sd); 1323 ELM_GESTURE_LAYER_DATA_GET(data, sd);
1324 1324
1325 /* Start testing candidate gesture from here */ 1325 /* Start testing candidate gesture from here */
1326 if (!_pointer_event_make(data, event_info, event_type, &_pe)) 1326 if (_pointer_event_make(data, event_info, event_type, &_pe))
1327 return; 1327 pe = &_pe;
1328
1329 pe = &_pe;
1330 1328
1331 /* Test all the gestures */ 1329 /* Test all the gestures */
1332 { 1330 {