Re: [PATCH] Input: Support for a less exclusive grab.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dmitry Torokhov <dtor@...>
Cc: <linux-input@...>, <linux-kernel@...>
Date: Tuesday, June 12, 2007 - 1:40 am

On Tue, Jun 12, 2007 at 01:35:05AM -0400, Dmitry Torokhov wrote:

Sadly, not quite.

The problem is that if the user is not using the mouse and kbd drivers
at all, but is instead using xf86-input-evdev, and no grabbing is done,
then all key presses end up going to the console.

Consider the effects of this when using things like alt-f1 or ctrl-c in
a program in X.

We have to keep the console itself from getting the events in question,
which means either unbinding the kbd interface, or some other sort of
grab, otherwise xf86-input-evdev is completely unusable for keyboards.

Grab support was my initial approach to the problem, in hindsight it
wasn't the right one, but it worked, and it's still needed for the
multi-seat people.

Ugly, but it works.

-- 
	  1024D/E65A7801 Zephaniah E. Hull <warp@aehallh.com>
	   92ED 94E4 B1E6 3624 226D  5727 4453 008B E65A 7801
	    CCs of replies from mailing lists are requested.

"Microsoft is a cross between the Borg and the Ferengi.  Unfortunately,
they use Borg to do their marketing and Ferengi to do their
programming."
  -- Simon Slavin in asr
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Input: Support for a less exclusive grab., Zephaniah E. Hull, (Sat Jun 9, 4:48 am)
Re: [PATCH] Input: Support for a less exclusive grab., Dmitry Torokhov, (Tue Jun 12, 1:07 am)
Re: [PATCH] Input: Support for a less exclusive grab., Zephaniah E. Hull, (Tue Jun 12, 1:12 am)
Re: [PATCH] Input: Support for a less exclusive grab., Dmitry Torokhov, (Tue Jun 12, 1:19 am)
Re: [PATCH] Input: Support for a less exclusive grab., Zephaniah E. Hull, (Tue Jun 12, 1:23 am)
Re: [PATCH] Input: Support for a less exclusive grab., Dmitry Torokhov, (Tue Jun 12, 1:35 am)
Re: [PATCH] Input: Support for a less exclusive grab., Zephaniah E. Hull, (Tue Jun 12, 1:40 am)
Re: [PATCH] Input: Support for a less exclusive grab., Vojtech Pavlik, (Mon Jul 2, 11:20 am)
Re: [PATCH] Input: Support for a less exclusive grab., Zephaniah E. Hull, (Tue Jul 3, 12:45 pm)
Re: [PATCH] Input: Support for a less exclusive grab., Ryan Lortie, (Fri Sep 28, 11:05 pm)
Re: [PATCH] Input: Support for a less exclusive grab., Dmitry Torokhov, (Tue Oct 23, 9:21 am)
Re: [PATCH] Input: Support for a less exclusive grab., Ryan Lortie, (Tue Oct 23, 11:57 am)
Re: [PATCH] Input: Support for a less exclusive grab., Dmitry Torokhov, (Tue Oct 23, 2:10 pm)
Re: [PATCH] Input: Support for a less exclusive grab., Ryan Lortie, (Tue Oct 23, 9:58 pm)
Re: [PATCH] Input: Support for a less exclusive grab., Dmitry Torokhov, (Tue Oct 23, 11:33 pm)
Re: [PATCH] Input: Support for a less exclusive grab., Zephaniah E. Hull, (Wed Oct 24, 11:35 am)
Re: [PATCH] Input: Support for a less exclusive grab., Ryan Lortie, (Thu Oct 25, 1:37 am)
Re: [PATCH] Input: Support for a less exclusive grab., Zephaniah E. Hull, (Fri Oct 26, 12:44 pm)
Re: [PATCH] Input: Support for a less exclusive grab., Dmitry Torokhov, (Fri Oct 26, 1:29 pm)
Re: [PATCH] Input: Support for a less exclusive grab., Ryan Lortie, (Fri Oct 26, 1:16 pm)
Re: [PATCH] Input: Support for a less exclusive grab., Zephaniah E. Hull, (Fri Oct 26, 1:58 pm)
Re: [PATCH] Input: Support for a less exclusive grab., Vojtech Pavlik, (Tue Jul 3, 6:15 pm)