Bug#297609: Fluxbox: Mod4 Tab :NextWindow looses 1st keypress
Package: xserver-xfree86
Version: 4.3.0.dfsg.1-12.0.1
This is the same problem of bug #261816:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=261816
but using Mod4 (Windows Key) instead of Mod1 (Alt) for window switching.
To reproduce it you have to change (or add) to the fluxbox keybinding file
(usually ~/.fluxbox/keys) this:
Mod4 Tab :NextWindow
(and have a keyboard with Windows Key)
Then follow this steps:
1. open 2 xterm's
2. mod4+tab brings another window into focus
3. type
4. notice first keypress doesn't do anything.
The problem seems to be (again) /etc/X11/xkb/symbols/pc/pc file. I attach
a patch based on Xorg's file to fix it.
(I don't know if RCTL-related stuff is necesary)
--
LUCA - Leandro Lucarella - JID: luca(en)lugmen.org.ar - Debian GNU/Linux
.------------------------------------------------------------------------,
\ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05 /
'--------------------------------------------------------------------'
Run, rabbit run.
Dig that hole, forget the sun,
And when at last the work is done
Don't sit down it's time to dig another one.
--- /etc/X11/xkb/symbols/pc/pc 2005-03-01 14:56:22.453363400 -0300
+++ pc.new 2005-03-01 15:00:23.326745080 -0300
@@ -200,6 +200,7 @@
include "pc/pc(basic)"
key <LALT> { [ Alt_L, Meta_L ] };
key <RALT> { [ Alt_R, Meta_R ] };
+ key <RCTL> { [ Control_R, Multi_key ] };
};
@@ -216,8 +217,10 @@
key <LALT> { [ Alt_L, Meta_L ] };
key <RALT> { [ Alt_R, Meta_R ] };
key <LWIN> { [ Super_L ] };
- key <RWIN> { [ Super_R ] };
+ key <RWIN> { [ Super_R, Multi_key ] };
key <MENU> { [ Menu ] };
+ key <RCTL> { [ Control_R, Multi_key ] };
+ modifier_map Mod4 { Super_L, Super_R };
};
Reply to: