summaryrefslogtreecommitdiff
path: root/grab_key.h
diff options
context:
space:
mode:
authorPhilippe Brochard <pbrochard@common-lisp.net>2009-05-18 15:28:11 +0200
committerPhilippe Brochard <pbrochard@common-lisp.net>2009-05-18 15:28:11 +0200
commit0d5a90f36acc602d993075bbccaebb44e671dca6 (patch)
tree71f73266ef446b8f030f7182544ef21593318fb1 /grab_key.h
parentbe5b5354a2af10580bde41d3cbf6d2c9db72bb9b (diff)
downloadxbindkeys-0d5a90f36acc602d993075bbccaebb44e671dca6.tar.gz
Initial import
Diffstat (limited to 'grab_key.h')
-rw-r--r--grab_key.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/grab_key.h b/grab_key.h
new file mode 100644
index 0000000..3024925
--- /dev/null
+++ b/grab_key.h
@@ -0,0 +1,32 @@
+/***************************************************************************
+ xbindkeys : a program to bind keys to commands under X11.
+ -------------------
+ begin : Sat Oct 13 14:11:34 CEST 2001
+ copyright : (C) 2001 by Philippe Brochard
+ email : hocwp@free.fr
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
+#ifndef __GRABKEY_H
+#define __GRABKEY_H
+
+extern void grab_keys (Display * dpy);
+extern void ungrab_all_keys (Display * dpy);
+
+extern void get_offending_modifiers (Display * dpy);
+
+
+extern unsigned int numlock_mask;
+extern unsigned int scrolllock_mask;
+extern unsigned int capslock_mask;
+
+
+#endif /* __GRABKEY_H */