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.
This commit is contained in:
2
calmwm.h
2
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);
|
||||
|
||||
Reference in New Issue
Block a user