diff options
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 |