aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/calmwm.h b/calmwm.h
index 89ce0cd..729b471 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.
*
- * $OpenBSD: calmwm.h,v 1.194 2013/05/06 16:03:11 okan Exp $
+ * $OpenBSD: calmwm.h,v 1.195 2013/05/10 15:44:43 okan Exp $
*/
#ifndef _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);