Thomas Jaeger wrote: > Using the latest xserver from server-1.6 branch, when > XTestFakeRelativeMotionEvent is called with a delay parameter != > CurrentTime, the client may crash under certain circumstances. I've > also seen problems with the same symptons on earlier X servers, but I've > never been able to reproduce them.
Fixed by the attached patch. > event) and then replays the events. The XTestFakeRelativeMotionEvent > call is necessary for other clients to be made aware of the current > pointer position, it would be nice if this call wasn't needed, see > http://lists.freedesktop.org/archives/xorg/2009-January/042039.html Any thoughts on this one?
>From e5c1907cee52e13b290b3d6e6f5c2a64ad697cd3 Mon Sep 17 00:00:00 2001 From: Thomas Jaeger <[email protected]> Date: Fri, 9 Jan 2009 02:02:38 -0500 Subject: [PATCH] Xext: Send out correct events in ProcXTestFakeInput --- Xext/xtest.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Xext/xtest.c b/Xext/xtest.c index 1290a23..a7f3830 100644 --- a/Xext/xtest.c +++ b/Xext/xtest.c @@ -396,7 +396,7 @@ ProcXTestFakeInput(client) OsBlockSignals(); for (i = 0; i < nevents; i++) - mieqEnqueue(dev, events->event); + mieqEnqueue(dev, (events+i)->event); OsReleaseSignals(); return client->noClientException; -- 1.6.0.4
_______________________________________________ xorg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xorg
