[56] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

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

daemon@ATHENA.MIT.EDU (Kazuhiro Sasayama)
Tue May 6 09:12:07 1997

To: "Adam D. Moss" <adam@uunet.pipex.com>
Cc: gimp-developer@scam.xcf.berkeley.edu, gtk-list@redhat.com
From: Kazuhiro Sasayama <kaz@hypercore.co.jp>
Date: 06 May 1997 21:48:53 +0900
In-Reply-To: "Adam D. Moss"'s message of Tue, 6 May 1997 11:04:08 GMT
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

>>>>> "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


home help back first fref pref prev next nref lref last post