[gimp/metadata-browser] Bug 677375: tools do not strictly follow mouse...



commit c62640a4917a33842969838ca992e9374d64003f
Author: Massimo Valentini <mvalentini src gnome org>
Date:   Mon Jun 18 18:14:43 2012 +0200

    Bug 677375: tools do not strictly follow mouse...
    
    pointer (missing motion events)
    
    Disable calls gimp_help_set_help_data for shell->canavs

 app/display/gimpdisplayshell.c |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/app/display/gimpdisplayshell.c b/app/display/gimpdisplayshell.c
index c4dba6b..aca40f1 100644
--- a/app/display/gimpdisplayshell.c
+++ b/app/display/gimpdisplayshell.c
@@ -738,9 +738,14 @@ gimp_display_shell_constructed (GObject *object)
     }
   else
     {
+#if 0
+      /* Disabled because it sets GDK_POINTER_MOTION_HINT on
+       * shell->canvas. For info see Bug 677375
+       */
       gimp_help_set_help_data (shell->canvas,
                                _("Drop image files here to open them"),
                                NULL);
+#endif
 
       gimp_statusbar_empty (GIMP_STATUSBAR (shell->statusbar));
     }
@@ -1315,9 +1320,10 @@ gimp_display_shell_empty (GimpDisplayShell *shell)
   gimp_display_shell_unset_cursor (shell);
 
   gimp_display_shell_appearance_update (shell);
-
+#if 0
   gimp_help_set_help_data (shell->canvas,
                            _("Drop image files here to open them"), NULL);
+#endif
 
   gimp_statusbar_empty (GIMP_STATUSBAR (shell->statusbar));
 
@@ -1366,8 +1372,9 @@ gimp_display_shell_fill (GimpDisplayShell *shell,
   gimp_display_shell_sync_config (shell, shell->display->config);
 
   gimp_display_shell_appearance_update (shell);
-
+#if 0
   gimp_help_set_help_data (shell->canvas, NULL, NULL);
+#endif
 
   gimp_statusbar_fill (GIMP_STATUSBAR (shell->statusbar));
 



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