diff options
Diffstat (limited to 'src/ui/touch.c')
-rw-r--r-- | src/ui/touch.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/touch.c b/src/ui/touch.c index c7c5a410..236601e8 100644 --- a/src/ui/touch.c +++ b/src/ui/touch.c | |||
@@ -274,8 +274,9 @@ static void update_TouchState_(void *ptr) { | |||
274 | // setHover_Widget(NULL); | 274 | // setHover_Widget(NULL); |
275 | postCommandf_App("edgeswipe.ended abort:1 side:%d id:%llu", touch->edge, touch->id); | 275 | postCommandf_App("edgeswipe.ended abort:1 side:%d id:%llu", touch->edge, touch->id); |
276 | touch->edge = none_TouchEdge; | 276 | touch->edge = none_TouchEdge; |
277 | remove_ArrayIterator(&i); | ||
277 | } | 278 | } |
278 | else continue; | 279 | continue; |
279 | } | 280 | } |
280 | /* Holding a touch will reset previous momentum for this widget. */ | 281 | /* Holding a touch will reset previous momentum for this widget. */ |
281 | if (isStationary_Touch_(touch)) { | 282 | if (isStationary_Touch_(touch)) { |
@@ -362,6 +363,7 @@ static void update_TouchState_(void *ptr) { | |||
362 | } | 363 | } |
363 | } | 364 | } |
364 | 365 | ||
366 | #if 0 | ||
365 | static iWidget *findSlidePanel_Widget_(iWidget *d) { | 367 | static iWidget *findSlidePanel_Widget_(iWidget *d) { |
366 | for (iWidget *w = d; w; w = parent_Widget(w)) { | 368 | for (iWidget *w = d; w; w = parent_Widget(w)) { |
367 | if (isVisible_Widget(w) && flags_Widget(w) & edgeDraggable_WidgetFlag) { | 369 | if (isVisible_Widget(w) && flags_Widget(w) & edgeDraggable_WidgetFlag) { |
@@ -370,6 +372,7 @@ static iWidget *findSlidePanel_Widget_(iWidget *d) { | |||
370 | } | 372 | } |
371 | return NULL; | 373 | return NULL; |
372 | } | 374 | } |
375 | #endif | ||
373 | 376 | ||
374 | static void checkNewPinch_TouchState_(iTouchState *d, iTouch *newTouch) { | 377 | static void checkNewPinch_TouchState_(iTouchState *d, iTouch *newTouch) { |
375 | iWidget *affinity = newTouch->affinity; | 378 | iWidget *affinity = newTouch->affinity; |