summaryrefslogtreecommitdiff
path: root/app/cwm/xutil.c
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2013-05-10 16:32:49 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2013-05-10 16:32:49 +0000
commit1b9360e28688f6746e95b80b50022c598513befd (patch)
tree91db8ca4d486df7b9e7b17de17f6ed558c1d2f11 /app/cwm/xutil.c
parent1a93c6ae799a467b1d3454cbf023136e8341433e (diff)
more type fixes for mask/button
Diffstat (limited to 'app/cwm/xutil.c')
-rw-r--r--app/cwm/xutil.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/cwm/xutil.c b/app/cwm/xutil.c
index 148e9d781..530a29a2a 100644
--- a/app/cwm/xutil.c
+++ b/app/cwm/xutil.c
@@ -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: xutil.c,v 1.58 2013/05/10 16:05:34 okan Exp $
+ * $OpenBSD: xutil.c,v 1.59 2013/05/10 16:32:48 okan Exp $
*/
#include <sys/param.h>
@@ -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;