Skip to content
Browse files

TouchInput: fix rightclick not ignoring next finger up

  • Loading branch information...
1 parent d23843b commit a3e8840cb3116dee716d3887d0b2565ecc5167f3 @bradallred bradallred committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 gemrb/plugins/SDLVideo/SDL20Video.cpp
View
2 gemrb/plugins/SDLVideo/SDL20Video.cpp
@@ -361,7 +361,7 @@ int SDL20VideoDriver::PollEvents()
int y = firstFingerDown.y;
ProcessFirstTouch(GEM_MB_MENU);
EvntManager->MouseUp( x, y, GEM_MB_MENU, GetModState(SDL_GetModState()));
- ignoreNextFingerUp++;
+ ignoreNextFingerUp = 1;
}
return SDLVideoDriver::PollEvents();

0 comments on commit a3e8840

Please sign in to comment.
Something went wrong with that request. Please try again.