diff options
author | oga <oga> | 2008-07-22 20:51:54 +0000 |
---|---|---|
committer | oga <oga> | 2008-07-22 20:51:54 +0000 |
commit | 0df9e0673c948d588be79ba5beef761d3709b3d5 (patch) | |
tree | 11397963f0df661d2cc1bb2fb4001f7336ef49ce /calmwm.h | |
parent | 436a9e5c54297a7b9b684d307106e62764cd5e93 (diff) | |
download | cwm-0df9e0673c948d588be79ba5beef761d3709b3d5.tar.gz cwm-0df9e0673c948d588be79ba5beef761d3709b3d5.tar.xz cwm-0df9e0673c948d588be79ba5beef761d3709b3d5.zip |
We've been handling grabbing wrong all this time (noticed at c2k8).
add conf_grab() and conf_ungrab, and use them in the keybinding manipulation functions to {,un}grab the binding for all screens we have defined. the lovely little ordering problem comes in here, since when we parse the config initially Screenq is empty, so regrab after we fill the queue, hopefully later reordering will remove this little need and there will be much rejoicing. ok okan.
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/calmwm.h b/calmwm.h index 91cce4b..7433f56 100644 --- a/calmwm.h +++ b/calmwm.h @@ -419,6 +419,8 @@ void screen_updatestackingorder(void); void conf_setup(struct conf *, const char *); void conf_client(struct client_ctx *); +void conf_grab(struct conf *, struct keybinding *); +void conf_ungrab(struct conf *, struct keybinding *); void conf_bindname(struct conf *, char *, char *); void conf_unbind(struct conf *, struct keybinding *); void conf_mousebind(struct conf *, char *, char *); |