From 9355d96d571a3fd7f99331f425728b7fab459f5b Mon Sep 17 00:00:00 2001 From: rcyeske Date: Thu, 15 Feb 2001 08:52:40 +0000 Subject: fixed ANSI violations --- src/bar.h | 2 +- src/events.h | 2 +- src/list.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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 -- cgit v1.2.3