[xmonad] Issue 380 in xmonad: Infer shiftMask given keysyms that
otherwise will not be received
codesite-noreply at google.com
codesite-noreply at google.com
Mon Mar 15 13:59:54 EDT 2010
Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Low
New issue 380 by vogt.adam: Infer shiftMask given keysyms that otherwise
will not be received
http://code.google.com/p/xmonad/issues/detail?id=380
What steps will reproduce the problem?
A keybinding to (0, xK_plus) doesn't work
What is the expected output? What do you see instead?
Instead you have to bind to: (shiftMask, xK_equal)
Maybe doing this correctly regardless of the keymap isn't possible, but
perhaps a reasonable approximation can be done like this:
* if the keymap contains 'unreachable keys' like "M-+", grab "M-+" and
"M-S-="
* if we actually get a "M-+", ungrab the "M-S-=", and run the normal
action for "M-+"
This can be done with a handleEventHook outside of core, but for users, the
current workaround is probably easier having an optional handleEventHook to
EZConfig (note how uncommon the use of the optional startupHook from that
module is).
--
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