[xmonad] darcs patch: keyActions moved to XState
Gwern Branwen
gwern0 at gmail.com
Mon Feb 9 12:06:59 EST 2009
On Tue, Jul 15, 2008 at 9:43 AM, Marco Túlio Gontijo e Silva
<marcot at riseup.net> wrote:
> Em Ter, 2008-07-15 às 07:35 -0700, Marco Túlio Gontijo e Silva
> escreveu:
>> Tue Jul 15 11:34:36 BRT 2008 Marco Túlio Gontijo e Silva <marcot at riseup.net>
>> * keyActions moved to XState
>
> I resent this patch with the correct e-mail address.
>
> The last time I've sent I got no replies of it. Is there a problem in
> this patch?
>
> I've done a module in XMonadContrib (XMonad.Actions.DynamicKeys) with
> two functions that take advantage of this change in xmonad and show how
> to use it.
>
> The basic is very simple: instead of changing it with get and put, the
> ideal is to call updateKeyActions, which is just a get/put followed by a
> call to grabKeys, which update in X the keyBindings reserved to XMonad.
>
> The motivation of doing this patch came after a question in #xmonad of a
> user which I can't recall his name --- is there a log of the IRC
> channel? --- about if it's possible to disable all XMonad key bindings
> temporarily. At first I tried to make a function that would re-enter
> the X monad, but I saw no reason why keyActions couldn't be moved to
> XState. The function that the user requested is
> XMonad.Actions.DynamicKeys.noKeys.
>
> Greetings.
This patch has gone unreviewed since July; the patch still applies
cleanly & compiles. Any xmonad-core devs have any comments?
--
gwern
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keyactions-moved-to-xstate.dpatch
Type: application/octet-stream
Size: 5527 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/xmonad/attachments/20090209/ee2b4d52/keyactions-moved-to-xstate.obj
More information about the xmonad
mailing list