[gimp/gimp-2-8] Bug 697530 - zoom during mouse-pan focuses on wrong location



commit 019eb591116740b0a4587f0cac4daf24c8b1cb58
Author: Michael Natterer <mitch gimp org>
Date:   Sun Apr 21 20:00:28 2013 +0200

    Bug 697530 - zoom during mouse-pan focuses on wrong location
    
    Block all key events while middle-mouse panning, to prevent
    accelerators from being invoked.
    (cherry picked from commit 3643551280887251cd20702275398f7b3169a309)

 app/display/gimpdisplayshell-tool-events.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/display/gimpdisplayshell-tool-events.c b/app/display/gimpdisplayshell-tool-events.c
index 7231cf7..f6659b4 100644
--- a/app/display/gimpdisplayshell-tool-events.c
+++ b/app/display/gimpdisplayshell-tool-events.c
@@ -206,7 +206,7 @@ gimp_display_shell_events (GtkWidget        *widget,
             break;
 
           default:
-            if (shell->space_pressed)
+            if (shell->space_pressed || shell->scrolling)
               return TRUE;
             break;
           }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]