diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-27 14:17:33 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-27 14:17:33 +0200 |
commit | 2a4f5d0f67fcd1412968ef967ed3009469a46b90 (patch) | |
tree | ae18c6005ed124effeaf7d84e1bff8339f2509e0 /src/ui/documentwidget.c | |
parent | 71c258194653ab332458fe0620d300f41213603c (diff) |
Processing of double clicks
The click handling utility no longer treats double clicks as a special case. An arbitrary number of clicks is kept in a separate counter.
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 57f87ef9..b3508b8d 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -2746,9 +2746,6 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e | |||
2746 | } | 2746 | } |
2747 | } | 2747 | } |
2748 | return iTrue; | 2748 | return iTrue; |
2749 | case double_ClickResult: | ||
2750 | printf("double_ClickResult\n"); fflush(stdout); | ||
2751 | return iTrue; | ||
2752 | case aborted_ClickResult: | 2749 | case aborted_ClickResult: |
2753 | if (d->grabbedPlayer) { | 2750 | if (d->grabbedPlayer) { |
2754 | setGrabbedPlayer_DocumentWidget_(d, NULL); | 2751 | setGrabbedPlayer_DocumentWidget_(d, NULL); |