Input: do not pass injected events back to the originating handler
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 9 Nov 2010 05:51:25 +0000 (21:51 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 11 Nov 2010 09:01:26 +0000 (01:01 -0800)
Sometimes input handlers (as opposed to input devices) have a need to
inject (or re-inject) events back into input core. For example sysrq
filter may want to inject previously suppressed Alt-SysRq so that user
can take a screen print. In this case we do not want to pass such events
back to the same same handler that injected them to avoid loops.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

No differences found