[xmonad] Re-inserting keystrokes as X events for client
Jérémy Bobbio
lunar at debian.org
Thu Sep 11 05:33:46 EDT 2008
On Thu, Sep 11, 2008 at 08:59:08AM +0200, Bárður Árantsson wrote:
> Is there a way to re-insert the original keystroke as an X event for the
> currently focused client in response to a keybinding?
>
> Basically I want to do a keybindings along these lines:
>
> ((controlMask, xK_t), submap . M.fromList $
> [ ((0, xK_r), whatever)
> , ((0, xK_f), whatever)
> ...
> , ((0, xK_t), <re-send the original keystroke to the focused client>)
> ])
>
> so that I essentially have a "prefix" key of C-t for all my rarely used
> xmonad commands, but if I need to actually send a C-t to the client I
> can still do so by pressing C-t twice.
>
> (I've tried searching around for an answer to this but my Google-fu
> seems to be lacking.)
See the "Ratpoison key emulation" thread:
http://www.haskell.org/pipermail/xmonad/2008-July/005954.html
Cheers,
--
Jérémy Bobbio .''`.
lunar at debian.org : :Ⓐ : # apt-get install anarchism
`. `'`
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080911/6416809c/attachment.bin
More information about the xmonad
mailing list