diff options
author | okan <okan> | 2013-05-10 15:44:43 +0000 |
---|---|---|
committer | okan <okan> | 2013-05-10 15:44:43 +0000 |
commit | 457938fbd750388907876ce30a98b216ae758922 (patch) | |
tree | e39fe1e3158f2f5ddfaa68ccf11ccb1d6345ae50 /calmwm.h | |
parent | 5f06e5a8caf07223bef5da977868ca8738f95a0f (diff) | |
download | cwm-457938fbd750388907876ce30a98b216ae758922.tar.gz cwm-457938fbd750388907876ce30a98b216ae758922.tar.xz cwm-457938fbd750388907876ce30a98b216ae758922.zip |
fix KeySym type
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calmwm.h b/calmwm.h index 82f43aa..3cb8442 100644 --- a/calmwm.h +++ b/calmwm.h @@ -236,7 +236,7 @@ struct keybinding { void (*callback)(struct client_ctx *, union arg *); union arg argument; int modmask; - int keysym; + KeySym keysym; int keycode; #define KBFLAG_NEEDCLIENT 0x0001 int flags; @@ -465,8 +465,8 @@ unsigned long xu_getcolor(struct screen_ctx *, char *); int xu_getprop(Window, Atom, Atom, long, u_char **); int xu_get_wm_state(Window, int *); int xu_getstrprop(Window, Atom, char **); -void xu_key_grab(Window, int, int); -void xu_key_ungrab(Window, int, int); +void xu_key_grab(Window, int, KeySym); +void xu_key_ungrab(Window, int, KeySym); void xu_ptr_getpos(Window, int *, int *); int xu_ptr_grab(Window, int, Cursor); int xu_ptr_regrab(int, Cursor); |