Adam Jackson wrote: > > Don't call TimerFree from DoBtnAction, clearly. Use TimerCancel to > disable the middle-button emulation timer instead. You need not even > free the timer until device close; the next call to TimerSet in > EVTouchLBRBEvent will just reuse the existing allocation. > > Of course it should be noted that that TimerSet is _also_ broken, since > it mallocs and it's called from ReadInput, which (as shown in the > backtrace) is called from the signal handler. So you'll also want to do > something like evdev does: > > http://cgit.freedesktop.org/xorg/driver/xf86-input-evdev/commit/?id=ddc126637404cb3d9356b7698779dcd8849f8718 > > All of which just underlines "use evdev already" I suppose. >
Thank you. Meanwhile I have found a workaround of disabling emulate3. -- ./lxnt _______________________________________________ xorg-devel mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-devel
