diff options
Diffstat (limited to 'apps/action.c')
| -rw-r--r-- | apps/action.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/action.c b/apps/action.c index 89d6a7a..5d0f994 100644 --- a/apps/action.c +++ b/apps/action.c @@ -308,6 +308,9 @@ int action_get_touchpad_press(short *x, short *y) return BUTTON_REPEAT; if (short_press) return BUTTON_REL; + /* this is to give a BUTTON_REL after a BUTTON_REPEAT */ + if (last_button & BUTTON_REL) + return BUTTON_REL; return BUTTON_TOUCHPAD; } #endif |