On Mon, Jan 28, 2002 at 03:31:50PM +0100, Jan Martinek wrote: > > > > > Other interesting behaviour: > > > > > 1) startx > > > > > 2) shift+ctrl+r - runs rxvt > > > > > 3) Left Shift + Right Shift simultaneously > > > > > this activates Czech keyboard layout > > > > > 4) if some window has focus, shift+ctrl+r runs another rxvt > > > > > but if no window has focus, nothing happens. > > > > That's really funny. Obviously, the keyboard grabs are still > > there, but they don't work on the root window. If you issue the > > fvwm command > > > > Recapture > > I will do it later, as soon as I figure out how to do it.
Just start the FvwmConsole module (e.g. from a menu) and type the command directly into its window. > > after switching the layout, does it work then? Does restarting > > fvwm (without restarting the X server) help? > > > > Please add these lines to the HandleKeyPress() function in > > events.c, recompile and reinstall to see if fvwm gets the key > > strokes at all: > > > > void HandleKeyPress(void) > > { > > ... > > /* Here's a real hack - some systems have two keys with the > > * same keysym and different keycodes. This converts all > > * the cases to one keycode. */ > > fprintf(stderr, "key press: kc1 0x%x, mods 0x%x ", Event.xkey.keycode, > > Event.xkey.state); > > Event.xkey.keycode = > > XKeysymToKeycode(dpy,XKeycodeToKeysym(dpy,Event.xkey.keycode,0)); > > > > /* Check if there is something bound to the key */ > > action = CheckBinding(Scr.AllBindings, STROKE_ARG(0) Event.xkey.keycode, > > Event.xkey.state, GetUnusedModifiers(), Context, > > KEY_BINDING); > > fprintf(stderr, "kc2 0x%x, action '%s'\n", Event.xkey.keycode, > > (action)?action:""); > > ... > > } > > > > The two lines with the fprintf's are new; this is the latest code > > from CVS, but older Versions should look similar enough. > > Please have patience with me, I must ask someone more experienced to help > me with that. No problem. If cou can tell me the exact version number you're using right now I can make you a patch that can be easily applied without knowing anything about C programming. Bye Dominik ^_^ ^_^ -- Dominik Vogt, email: [EMAIL PROTECTED] LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20 -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]