[xmonad] Issue 273 in xmonad: Binding multiple keys to the same keysym fails for xmonad hotkeys

codesite-noreply at google.com codesite-noreply at google.com
Sun Feb 15 14:06:11 EST 2009


Status: New
Owner: ----

New issue 273 by sveina: Binding multiple keys to the same keysym fails for  
xmonad hotkeys
http://code.google.com/p/xmonad/issues/detail?id=273

What steps will reproduce the problem?
1. Bind multiple physical keys to one keysym
2. Bind that keysym to some xmonad action
3. Observe that only one key works

What is the expected output? What do you see instead?

All keys should execute the same action, not just one.


Please provide any additional information below.

The error is due to XKeysymToKeycode only returning one code per key. The
attached patch works around this by using XKeycodeToKeysym instead,
building a mapping of keycodes to keysyms by scanning all (248) possible
keycodes.

Attachments:
	keycode.patch  6.2 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


More information about the xmonad mailing list