diff options
author | oga <oga> | 2008-06-17 23:40:33 +0000 |
---|---|---|
committer | oga <oga> | 2008-06-17 23:40:33 +0000 |
commit | 4f2d4724c961aac55558069973f8a20bf01d8338 (patch) | |
tree | 274432e36f535ac87a4e355edf5c87ee7cdf5af0 /calmwm.h | |
parent | 19ba704ee3b16bcf4a29c223c5796a7f63fa6b6d (diff) | |
download | cwm-4f2d4724c961aac55558069973f8a20bf01d8338.tar.gz cwm-4f2d4724c961aac55558069973f8a20bf01d8338.tar.xz cwm-4f2d4724c961aac55558069973f8a20bf01d8338.zip |
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 'calmwm.h')
-rw-r--r-- | calmwm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h index 72aa1e0..33b4949 100644 --- a/calmwm.h +++ b/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); |