diff options
author | okan <okan> | 2013-05-10 16:32:47 +0000 |
---|---|---|
committer | okan <okan> | 2013-05-10 16:32:47 +0000 |
commit | 9b9e95d74236b135d799c19c94d9b8070ffc6a58 (patch) | |
tree | 2aef3f92967d43e2784eef3eff770e7608664e51 /xutil.c | |
parent | d0fe80b1f46a3049635c12deb62f73f6cea30f25 (diff) | |
download | cwm-9b9e95d74236b135d799c19c94d9b8070ffc6a58.tar.gz cwm-9b9e95d74236b135d799c19c94d9b8070ffc6a58.tar.xz cwm-9b9e95d74236b135d799c19c94d9b8070ffc6a58.zip |
more type fixes for mask/button
Diffstat (limited to 'xutil.c')
-rw-r--r-- | xutil.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xutil.c b/xutil.c index 6aee4d9..a2a6bec 100644 --- a/xutil.c +++ b/xutil.c @@ -33,7 +33,7 @@ static unsigned int ign_mods[] = { 0, LockMask, Mod2Mask, Mod2Mask | LockMask }; int -xu_ptr_grab(Window win, int mask, Cursor curs) +xu_ptr_grab(Window win, u_int mask, Cursor curs) { return (XGrabPointer(X_Dpy, win, False, mask, GrabModeAsync, GrabModeAsync, @@ -41,7 +41,7 @@ xu_ptr_grab(Window win, int mask, Cursor curs) } int -xu_ptr_regrab(int mask, Cursor curs) +xu_ptr_regrab(u_int mask, Cursor curs) { return (XChangeActivePointerGrab(X_Dpy, mask, curs, CurrentTime) == GrabSuccess ? 0 : -1); @@ -90,7 +90,7 @@ xu_ptr_setpos(Window win, int x, int y) } void -xu_key_grab(Window win, int mask, KeySym keysym) +xu_key_grab(Window win, u_int mask, KeySym keysym) { KeyCode code; u_int i; @@ -106,7 +106,7 @@ xu_key_grab(Window win, int mask, KeySym keysym) } void -xu_key_ungrab(Window win, int mask, KeySym keysym) +xu_key_ungrab(Window win, u_int mask, KeySym keysym) { KeyCode code; u_int i; |