aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authoroga2008-07-22 20:51:54 +0000
committeroga2008-07-22 20:51:54 +0000
commit67b8780562e9d846a7ca5912fb0bd385c7ae5da5 (patch)
tree67a153c78242f8f0dd51a27877a8ff4002997ef4 /calmwm.h
parentd9557dba0d766f3d73131ca49b6409491684730e (diff)
downloadcwm-67b8780562e9d846a7ca5912fb0bd385c7ae5da5.tar.gz
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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h
index cd06376..d7835ec 100644
--- a/calmwm.h
+++ b/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 *);