diff options
author | oga | 2008-06-17 23:40:33 +0000 |
---|---|---|
committer | oga | 2008-06-17 23:40:33 +0000 |
commit | e81c12ba73d4e86fe08110f8fa1fabc02745626c (patch) | |
tree | 8bf597fd72b6543daa7684421bf7f177599387e5 /calmwm.h | |
parent | d8992dea78215e8b6fd889297b028280fd28922d (diff) | |
download | cwm-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |