diff options
author | rcyeske <rcyeske> | 2001-02-15 08:52:40 +0000 |
---|---|---|
committer | rcyeske <rcyeske> | 2001-02-15 08:52:40 +0000 |
commit | 9355d96d571a3fd7f99331f425728b7fab459f5b (patch) | |
tree | 91be40d7072c8de182b1ed7595887049023aa9a4 /src | |
parent | 53945c8a2187e8a47cb813aa0b97c122d89ed7ae (diff) | |
download | ratpoison-9355d96d571a3fd7f99331f425728b7fab459f5b.zip |
fixed ANSI violations
Diffstat (limited to 'src')
-rw-r--r-- | src/bar.h | 2 | ||||
-rw-r--r-- | src/events.h | 2 | ||||
-rw-r--r-- | src/list.c | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -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 */ @@ -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 |