[gtk-list] Re: [bug] motion tracking bug?



>>>>> "ADM" == Adam D Moss <adam@uunet.pipex.com> writes:

    ADM> Hi.  Has anyone else noticed this one?

Yes, me too.

    ADM> I'm using a Wacom tablet and stylus, and I notice that on my
    ADM> not-terribly-fast machine, when using a GIMP function which tracks the
    ADM> motion of the mouse, such as paint, erase, move, or canvas-scrolling,
    ADM> GIMP will continue to track my pointer for up to several seconds after
    ADM> I've released the button, which can be rather annoying.

I just made a small change for paint as follows.  I hope it will be
easy to modify other tools too.

--- app/paint_core.c	1997-05-06 21:18:54+09	1.1
+++ app/paint_core.c	1997-05-06 21:19:28+09
@@ -161,7 +161,7 @@
   gdisplays_selection_visibility (gdisp->gimage->ID, SelectionPause);
 
   gdk_pointer_grab (gdisp->canvas->window, FALSE,
-		    GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON1_MOTION_MASK | GDK_BUTTON_RELEASE_MASK,
+		    GDK_BUTTON1_MOTION_MASK | GDK_BUTTON_RELEASE_MASK,
 		    NULL, NULL, bevent->time);
 
   /*  Let the specific painting function initialize itself  */

-- 
Kaz Sasayama, the designer of Hyperplay.
PGP key fingerprint = 53 71 54 56 FB 3D 76 0B  92 5D 32 40 C5 34 38 00

--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null



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