Do not send mujltitouch gestures when third mouse butto nis pressed

This commit is contained in:
pelya
2014-03-02 00:34:46 +02:00
parent c870f8c7a0
commit 728455e957
2 changed files with 3 additions and 3 deletions

View File

@@ -7,10 +7,10 @@ AppName="GIMP Inkscape"
AppFullName=org.gimp.inkscape
# Application version code (integer)
AppVersionCode=28213
AppVersionCode=28214
# Application user-visible version name (string)
AppVersionName="2.8.2.13"
AppVersionName="2.8.2.14"
# Specify path to download application data in zip archive in the form 'Description|URL|MirrorURL^Description2|URL2|MirrorURL2^...'
# If you'll start Description with '!' symbol it will be enabled by default, other downloads should be selected by user from startup config menu

View File

@@ -307,7 +307,7 @@ static void ProcessMultitouchGesture( int x, int y, int action, int pointerId )
multitouchGestureMiddleX = -1;
multitouchGestureMiddleY = -1;
}
else if( !hardwareMouseDetected )
else if( !hardwareMouseDetected && !(SDL_GetMouseState(NULL, NULL) & SDL_BUTTON_MMASK) )
{
if( firstMousePointerId != pointerId )
{