Date: Thu, 14 Jun 2007 22:00:22 +1200 From: Mark Kirkwood <markir@paradise.net.nz> To: Michal Varga <varga.michal@gmail.com> Cc: freebsd-x11@freebsd.org Subject: Re: x11/libX11-1.1.2,1 broken (and easy fix) Message-ID: <467111B6.2080809@paradise.net.nz> In-Reply-To: <3f1fd1ea0706131906s275f102bhcdb9f11d030f3f9f@mail.gmail.com> References: <3f1fd1ea0706131906s275f102bhcdb9f11d030f3f9f@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Michal Varga wrote: > Guys, can someone please commit this? (see Comment #1 for patch): > > https://bugs.freedesktop.org/show_bug.cgi?id=11222 > > With this recent Xlib bug, Gimp (and possibly other apps) is seriously > broken (crashes on every mouse drag, which is quite unpleasant for a > drawing > app). > Yeah - just encountered this with gimp too. Fortunately looks like patching the libX11 port and doing build + reinstall of (only) it fixes the issue. I've included a patch the applies the upstream fix to the libX11 port (for anyone who needs a working gimp now!). Cheers Mark ------ patch --------- diff -Nacr libX11.orig/files/patch-src::GetMoEv.c libX11/files/patch-src::GetMoEv.c *** libX11.orig/files/patch-src::GetMoEv.c Thu Jan 1 12:00:00 1970 --- libX11/files/patch-src::GetMoEv.c Thu Jun 14 21:17:05 2007 *************** *** 0 **** --- 1,13 ---- + --- src/GetMoEv.c + +++ 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; ------ end patch -----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?467111B6.2080809>
