Warning: evdev changes - no auto-grabs anymore
Daniel Stone
daniel at fooishbar.org
Thu Aug 14 08:04:22 PDT 2008
On Thu, Aug 14, 2008 at 04:54:05PM +0200, Michel Dänzer wrote:
> On Thu, 2008-08-14 at 14:13 +0930, Peter Hutterer wrote:
> > Just a warning to all evdev users. I just pushed a fix to disable device grabs
> > by default to evdev git (not X active/passive grabs, EVIOCGRAB ones).
> >
> > Why?
> > If you grab a device, you will stop it from sending events to /dev/input/mice,
> > /dev/kbd, but breaks other (virtual) devices such as the Macintosh mouse
> > button emulation and rfkill.
>
> Sounds good, but unfortunately, this change seems to cause trouble of
> its own, namely that hitting ctrl-C terminates the X server - not very
> useful. :) It looks like all the input intended for the X server also
> goes to a VT (I can briefly see fragments of what I typed before hitting
> ctrl-C until the server restarts), and that's probably how the ctrl-C
> results in a SIGTERM to the X server.
Yep. Obvious and not even remotely tested patch:
http://people.freedesktop.org/~daniels/no-more-sigterm.diff
Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20080814/4313324a/attachment.pgp>
More information about the xorg
mailing list