aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authoroga2008-06-17 23:40:33 +0000
committeroga2008-06-17 23:40:33 +0000
commite81c12ba73d4e86fe08110f8fa1fabc02745626c (patch)
tree8bf597fd72b6543daa7684421bf7f177599387e5 /calmwm.h
parentd8992dea78215e8b6fd889297b028280fd28922d (diff)
downloadcwm-e81c12ba73d4e86fe08110f8fa1fabc02745626c.tar.gz
Ignore caps lock and numlock for keyboard bindings. The way Xlib makes
you do this is ugly. Also remove mod2 (numlock) and mod3 (odd) from the list of keybinding modifiers. They don't make much sense here. based on a heavily modified diff from Martynas. ok okan.
Diffstat (limited to '')
-rw-r--r--calmwm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/calmwm.h b/calmwm.h
index bb38b04..edbc32a 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.54 2008/06/15 02:47:46 oga Exp $
+ * $Id: calmwm.h,v 1.55 2008/06/17 23:40:33 oga Exp $
*/
#ifndef _CALMWM_H_
@@ -384,7 +384,7 @@ void xev_register(struct xevent *);
void xev_loop(void);
int xu_ptr_grab(Window, int, Cursor);
-int xu_btn_grab(Window, int, u_int);
+void xu_btn_grab(Window, int, u_int);
int xu_ptr_regrab(int, Cursor);
void xu_btn_ungrab(Window, int, u_int);
void xu_ptr_ungrab(void);