summaryrefslogtreecommitdiff
path: root/src/list.c
diff options
context:
space:
mode:
authorrcyeske <rcyeske>2001-02-15 08:52:40 +0000
committerrcyeske <rcyeske>2001-02-15 08:52:40 +0000
commit9355d96d571a3fd7f99331f425728b7fab459f5b (patch)
tree91be40d7072c8de182b1ed7595887049023aa9a4 /src/list.c
parent53945c8a2187e8a47cb813aa0b97c122d89ed7ae (diff)
downloadratpoison-9355d96d571a3fd7f99331f425728b7fab459f5b.zip
fixed ANSI violations
Diffstat (limited to 'src/list.c')
-rw-r--r--src/list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/list.c b/src/list.c
index 2897c41..b149ef3 100644
--- a/src/list.c
+++ b/src/list.c
@@ -33,7 +33,7 @@ get_mouse_root_position (rp_window *win, int *mouse_x, int *mouse_y)
{
Window root_win, child_win;
int win_x, win_y;
- int mask;
+ unsigned int mask;
XQueryPointer (dpy, win->scr->root, &root_win, &child_win, &win_x, &win_y, mouse_x, mouse_y, &mask);
}
@@ -222,7 +222,7 @@ save_mouse_position (rp_window *win)
{
Window root_win, child_win;
int win_x, win_y;
- int mask;
+ unsigned int mask;
/* In the case the XQueryPointer raises a BadWindow error, the
window is not mapped or has been destroyed so it doesn't matter