summaryrefslogtreecommitdiff
path: root/app/cwm/calmwm.h
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-07-22 20:51:55 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-07-22 20:51:55 +0000
commite25072ce8fd9d3c5729b500ecfaaf46ae2c4d0d4 (patch)
tree15cb6d3e0f5c14222d13d60c3b0000c7fdfb7ab2 /app/cwm/calmwm.h
parentd64ba1e5f599abc10ed3a65f6b1c6eeb02e18566 (diff)
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 'app/cwm/calmwm.h')
-rw-r--r--app/cwm/calmwm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/cwm/calmwm.h b/app/cwm/calmwm.h
index cd0637651..d7835ecd3 100644
--- a/app/cwm/calmwm.h
+++ b/app/cwm/calmwm.h
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: calmwm.h,v 1.63 2008/07/22 20:42:24 oga Exp $
+ * $Id: calmwm.h,v 1.64 2008/07/22 20:51:54 oga Exp $
*/
#ifndef _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 *);