From: Michael R. <mr...@us...> - 2005-05-09 13:29:03
|
Hi, > >>I agree with Daniel. We should keep the fake events as they are, until > >>better possibilities arise. As I said, I'm working on a patch to protect > >>xine-ui from those events itself. > > Those offending screen savers just want to see an action. > I've tested the following patch (see below): Instead of alternatively > faking a XK_Control_L and XK_Shift_L (dont't know the history where they > come from), I doubly faked a XK_Caps_Lock. Thus, the faked key sequences > are so fast, that I could not see a flickering of the caps-lock light on > the keyboard and the original user selection is preserved. I've tested > with xscreenserver and my machine is only 1300 MHz fast. And it doesn't > mess up typing into an xterm while viewing a video. I don't know about the details in X11, but some keyboard layouts use the old typewriter style for caps lock: it gets enabled with the caps lock, but disabled with the shift key. Michael -- There are 10 types of people: Those who understand binary and those who don't. |