stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[STUMP] Re: [PATCH] command-mode-hook


From: Matt Spear
Subject: [STUMP] Re: [PATCH] command-mode-hook
Date: Mon, 7 Mar 2011 22:58:37 -0800

Sorry, ran git-format with the wrong base...
Matt Spear
address@hidden



On Mon, Mar 7, 2011 at 10:51 PM, Matt Spear <address@hidden> wrote:
> I really like command-mode, but I found I make the mistake of thinking
> I am not in command mode when I am.  I have attached a patch to add a
> *commond-mode-hook*, and a var *in-command-mode* (I'd like to remove
> this var if the list has any pointers on how to do it).  I also added
> a check in ungrab to ensure it was not in command-mode as this can be
> confusing.  An example usage:
>
> (setf *command-mode-hook*
>      (list (lambda (start)
>              (if start
>                  (grab-pointer (current-screen))
>                  (ungrab-pointer)))))
>
> Cheers!!!
> Matt Spear
> address@hidden
>

Attachment: command-hook.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]