[MPlayer-dev-eng] keyboard lock PATCH [1/1]

Peter Poulsen peter at pgpoulsen.dk
Sat Dec 29 14:54:00 CET 2007


> 2007/12/29, Peter Poulsen <peter at pgpoulsen.dk>:
>> This is my first code for MPlayer ever, so be gentle :)
>>
>> I have a cat that loves to step on my keyboard, and when I'm watching movies that
>> is
>> pretty annoying. Therefore I have made this small patch that locks the keyboard.
>> Let
>> me know what you think.
>>
>
> By the your post title, your patch should only lock keyboard, instead
> of other input devices. While your patch block all mplayer's commands,
> there are quite number of commands do not come from the keyboard.
>
Yes, I can see that was unfortunate labeling. It should probably had been 'input
lock' (also in the code). Any other suggestions?

I have attached the modified patch.

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lock.patch
Type: application/octet-stream
Size: 2285 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071229/3e7667f0/attachment.obj>


More information about the MPlayer-dev-eng mailing list