forked from enlightenment/efl
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.
This commit is contained in:
parent
aabd3e7f27
commit
3e2327f6e4
|
@ -1347,9 +1347,7 @@ _event_process(void *data,
|
|||
ELM_GESTURE_LAYER_DATA_GET(data, sd);
|
||||
|
||||
/* Start testing candidate gesture from here */
|
||||
if (!_pointer_event_make(data, event_info, event_type, &_pe))
|
||||
return;
|
||||
|
||||
if (_pointer_event_make(data, event_info, event_type, &_pe))
|
||||
pe = &_pe;
|
||||
|
||||
/* Test all the gestures */
|
||||
|
|
Loading…
Reference in New Issue