diff options
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 563d57ae..d64e7ebf 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -33,6 +33,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
33 | #include "paint.h" | 33 | #include "paint.h" |
34 | #include "util.h" | 34 | #include "util.h" |
35 | #include "keys.h" | 35 | #include "keys.h" |
36 | #include "touch.h" | ||
36 | #include "../app.h" | 37 | #include "../app.h" |
37 | #include "../visited.h" | 38 | #include "../visited.h" |
38 | #include "../gmcerts.h" | 39 | #include "../gmcerts.h" |
@@ -1246,6 +1247,9 @@ iBool processEvent_Window(iWindow *d, const SDL_Event *ev) { | |||
1246 | postRefresh_App(); | 1247 | postRefresh_App(); |
1247 | return iTrue; | 1248 | return iTrue; |
1248 | } | 1249 | } |
1250 | if (processEvent_Touch(&event)) { | ||
1251 | return iTrue; | ||
1252 | } | ||
1249 | if (event.type == SDL_KEYDOWN && SDL_GetTicks() - d->focusGainedAt < 10) { | 1253 | if (event.type == SDL_KEYDOWN && SDL_GetTicks() - d->focusGainedAt < 10) { |
1250 | /* Suspiciously close to when input focus was received. For example under openbox, | 1254 | /* Suspiciously close to when input focus was received. For example under openbox, |
1251 | closing xterm with Ctrl+D will cause the keydown event to "spill" over to us. | 1255 | closing xterm with Ctrl+D will cause the keydown event to "spill" over to us. |