summaryrefslogtreecommitdiff
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
parent53945c8a2187e8a47cb813aa0b97c122d89ed7ae (diff)
downloadratpoison-9355d96d571a3fd7f99331f425728b7fab459f5b.zip
fixed ANSI violations
-rw-r--r--src/bar.h2
-rw-r--r--src/events.h2
-rw-r--r--src/list.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/bar.h b/src/bar.h
index b687816..1f9765d 100644
--- a/src/bar.h
+++ b/src/bar.h
@@ -26,4 +26,4 @@ int hide_bar (screen_info *s);
int bar_y (screen_info *s);
int bar_x (screen_info *s, int width);
void display_msg_in_bar (screen_info *s, char *msg, int hl_start, int hl_end);
-#endif _BAR_H
+#endif /* _BAR_H */
diff --git a/src/events.h b/src/events.h
index 8751e68..ac99f43 100644
--- a/src/events.h
+++ b/src/events.h
@@ -26,4 +26,4 @@ void key_press (XEvent *ev);
void map_request (XEvent *ev);
void unmap_notify (XEvent *ev);
-#endif _EVENTS_H
+#endif /* _EVENTS_H */
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