[MPlayer-dev-eng] [PATCH] New option to disable key events

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Jul 1 21:01:49 CEST 2010


On Thu, Jul 01, 2010 at 02:58:03PM -0400, Vlad Seryakov wrote:
> On Jul 1, 2010, at 12:45 PM, Reimar Döffinger wrote:
> 
> > On Thu, Jul 01, 2010 at 06:03:05PM +0200, Attila Kinali wrote:
> >> I would rename the option to -x11-nokeyinput as it applies only to x11
> >> based vos (and the console will still accept key input), but otherwise
> >> it seems ok.
> >> 
> >> Reimar, is the patch ok to apply?
> > 
> > Uh, -input nodefault-bindings
> > was added for exactly that purpose...
> 
> This is different, with this option X11 events will be accepted but silently swallowed instead of going to the parent window. For -slave integration events better be propagated up to the chain.

-wid on Windows already passes events on. If that's not the case on
Linux it probably makes sense to change that - possibly even
make it configurable, but if that is the purpose, nokeyinput
is a truly horrible name for it.
Not to mention that it should work for Windows as well.



More information about the MPlayer-dev-eng mailing list