summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/skin_touchsupport.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/skin_engine/skin_touchsupport.c')
-rw-r--r--apps/gui/skin_engine/skin_touchsupport.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/gui/skin_engine/skin_touchsupport.c b/apps/gui/skin_engine/skin_touchsupport.c
index beb6780c3c..fb4780c22d 100644
--- a/apps/gui/skin_engine/skin_touchsupport.c
+++ b/apps/gui/skin_engine/skin_touchsupport.c
@@ -56,7 +56,6 @@ int skin_get_touchaction(struct wps_data *data, int* edge_offset,
56 short x,y; 56 short x,y;
57 short vx, vy; 57 short vx, vy;
58 int type = action_get_touchscreen_press(&x, &y); 58 int type = action_get_touchscreen_press(&x, &y);
59 static int last_action = ACTION_NONE;
60 struct touchregion *r, *temp = NULL; 59 struct touchregion *r, *temp = NULL;
61 bool repeated = (type == BUTTON_REPEAT); 60 bool repeated = (type == BUTTON_REPEAT);
62 bool released = (type == BUTTON_REL); 61 bool released = (type == BUTTON_REL);
@@ -109,7 +108,6 @@ int skin_get_touchaction(struct wps_data *data, int* edge_offset,
109 if (r->armed && ((repeated && needs_repeat) || 108 if (r->armed && ((repeated && needs_repeat) ||
110 (released && !needs_repeat))) 109 (released && !needs_repeat)))
111 { 110 {
112 last_action = r->action;
113 returncode = r->action; 111 returncode = r->action;
114 temp = r; 112 temp = r;
115 } 113 }
@@ -270,7 +268,6 @@ int skin_get_touchaction(struct wps_data *data, int* edge_offset,
270 } 268 }
271 return returncode; 269 return returncode;
272 } 270 }
273 271
274 last_action = ACTION_TOUCHSCREEN;
275 return ACTION_TOUCHSCREEN; 272 return ACTION_TOUCHSCREEN;
276} 273}