From: Daniel Stone <daniel@fooishbar.org>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@vger.kernel.org,
Michel D?nzer <michel@tungstengraphics.com>,
xorg@lists.freedesktop.org
Subject: Re: Warning: evdev changes - no auto-grabs anymore
Date: Fri, 15 Aug 2008 17:31:19 +0300 [thread overview]
Message-ID: <20080815143119.GB2779@fooishbar.org> (raw)
In-Reply-To: <20080815100717.ZZRA012@mailhub.coreip.homeip.net>
[-- Attachment #1.1: Type: text/plain, Size: 1549 bytes --]
On Fri, Aug 15, 2008 at 10:10:10AM -0400, Dmitry Torokhov wrote:
> On Fri, Aug 15, 2008 at 11:26:29AM +0300, Ville Syrj?l? wrote:
> > On Fri, Aug 15, 2008 at 11:02:48AM +0300, Daniel Stone wrote:
> > > On Fri, Aug 15, 2008 at 09:51:59AM +0300, Ville Syrj?l? wrote:
> > > > I was pondering about the same issue wrt. DirectFB. I wonder if
> > > > KDSETMODE/KD_GRAPHICS could be extended to take care of this or
> > > > would it break some existing applications.
> > >
> > > Yeah, I was thinking about that, but that would mean we have issues
> > > under older kernels. I think the best was what I was proposing, which
> > > would be EVIOCSERIOUSLYDONTSENDANYCONSOLEINPUTWEWILLDEALWITHIT().
> >
> > Yeah that would be better since support for it could be detected runtime
> > so the driver could do the right thing when running with a recent kernel,
> > and it could just fall back to the normal grab with old kernels.
>
> If evdev support in X is maturing why does it even need using tty and
> mousedev multiplexors? If you just use evdev for all of your devices
> you would not have the problem of duplicate events coming from 2
> interfaces.
We don't, and killing them is fine. Even so, try doing that, and
realise that the TTY layer has helpfully spewed out every single thing
you've typed, oh, and Ctrl-C kills the X server.
So it would seem that an ioctl to say 'I'm dealing with this, don't let
the TTY layer and mousedev get at it' would be helpful, but one that
stops short of a full grab.
Cheers,
Daniel
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg
next prev parent reply other threads:[~2008-08-15 14:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080814044337.GA11632@emu>
[not found] ` <1218725645.907.27.camel@thor.sulgenrain.local>
[not found] ` <1218736209.4467.11.camel@localhost.localdomain>
[not found] ` <20080815002458.GA16836@emu>
[not found] ` <20080815065159.GA16680@sci.fi>
[not found] ` <20080815080247.GA17613@fooishbar.org>
2008-08-15 8:26 ` Warning: evdev changes - no auto-grabs anymore Ville Syrjälä
2008-08-15 14:10 ` Dmitry Torokhov
2008-08-15 14:31 ` Daniel Stone [this message]
2008-08-15 14:38 ` Alan Cox
2008-08-15 14:49 ` Dmitry Torokhov
2008-08-15 14:39 ` Ville Syrjälä
2008-08-15 14:49 ` Samuel Thibault
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080815143119.GB2779@fooishbar.org \
--to=daniel@fooishbar.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=michel@tungstengraphics.com \
--cc=xorg@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.