xorg-libx11 and gimp

Lucas Hazel lucas at die.net.au
Wed Aug 1 15:45:26 UTC 2007

On Tue, 31 Jul 2007 17:51:20 +0000
"Hitoshi Satow" <satowh at hotmail.com> wrote:

> I'm having an issue with gimp where it crashes when I use the
> pencil.  I found documentation of the problem in a freeBSD forum
> saying it was an issue with xorg-libx11.  They provided a patch.  The
> easiest thing for me was to roll back to the previous version and it
> seems to be working now.
> -Hitoshi

Here's the patch from the archlinux repositories

diff --git a/src/GetMoEv.c b/src/GetMoEv.c
index 2aa6c1a..dac1bfc 100644
--- a/src/GetMoEv.c
+++ b/src/GetMoEv.c
@@ -33,9 +33,9 @@ in this Software without prior written authorization
from The Open Group. 
 XTimeCoord *XGetMotionEvents(
     register Display *dpy,
+    Window w,
     Time start, 
     Time stop,
-    Window w,
     int *nEvents)  /* RETURN */
     xGetMotionEventsReply rep;

I applied it to xorg-libx11 1.1.2 and gimp works again.

Lucas Hazel <lucas at die.net.au>


"Clothes make the man. Naked men are rarely taken
seriously, or given employment." 


More information about the CRUX mailing list