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

From: Dmitry Torokhov
Date: Tue Oct 23 2007 - 23:33:33 EST


On Tuesday 23 October 2007, Ryan Lortie wrote:
> On Tue, 2007-23-10 at 14:10 -0400, Dmitry Torokhov wrote:
> > No, rfkill want to see keypresses, period. It does not care if there
> > are other applications also seeing the same keypresses, it just does
> > not want keypresses stolen from it.
>
> Right. This is exactly the problem. The current grab API exists to
> prevent keys from being delivered to normal users, but rfkill still
> wants to see them.
>
> No matter how you slice it, if both of these desires are to be satisfied
> then there needs to be some sort of a system to differentiate between
> rfkill and "normal users". That's what the priority is here.
>

And the solution is pretty simple - do not use grab.

--
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/