Am 14.04.2010 03:08, schrieb Peter Hutterer:
> Section 4.6.1 of the XKB spec says that "the initial event always moves the
> cursor the distance specified in the action [...]", so skip the
> POINTER_ACCELERATE flag for GPE, it would cause double-acceleration.
Sounds fine.
> + events = InitEventList(GetMaximumEventsNum());
> + OsBlockSignals();
> + nevents = GetPointerEvents(events, ptr,
> + MotionNotify, 0,
> + gpe_flags, 0, 2, (int[]){x, y});
> + OsReleaseSignals();
If you can be sure ptr is a XTEST device (which I assume is the normal
case), you ought to be able to drop the signal blocking. In theory. If
no, the xtest GPE should be checked as well ;)
It's good you're catching up with those!
Reviewed-by: Simon Thum <[email protected]>
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel