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,10 +1347,8 @@ _event_process(void *data,
|
||||||
ELM_GESTURE_LAYER_DATA_GET(data, sd);
|
ELM_GESTURE_LAYER_DATA_GET(data, sd);
|
||||||
|
|
||||||
/* Start testing candidate gesture from here */
|
/* Start testing candidate gesture from here */
|
||||||
if (!_pointer_event_make(data, event_info, event_type, &_pe))
|
if (_pointer_event_make(data, event_info, event_type, &_pe))
|
||||||
return;
|
pe = &_pe;
|
||||||
|
|
||||||
pe = &_pe;
|
|
||||||
|
|
||||||
/* Test all the gestures */
|
/* Test all the gestures */
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue