diff options
author | Michael Cardell Widerkrantz <mc@hack.org> | 2013-08-19 16:00:10 +0200 |
---|---|---|
committer | Michael Cardell Widerkrantz <mc@hack.org> | 2013-08-19 16:00:10 +0200 |
commit | 7727a7ea874994d6b2ad4759fc20f59cae5822af (patch) | |
tree | 6e4660bc3b5ddd48d6b2f02c80181b78cface491 | |
parent | d20afb197384ca8fdd3b9873a74fb856f0a8abf7 (diff) | |
download | mcwm-7727a7ea874994d6b2ad4759fc20f59cae5822af.zip |
snapwindow() should be static like all other functions.
-rw-r--r-- | mcwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -347,7 +347,7 @@ static void moveresize(xcb_drawable_t win, uint16_t x, uint16_t y, uint16_t width, uint16_t height); static void resize(xcb_drawable_t win, uint16_t width, uint16_t height); static void resizestep(struct client *client, char direction); -void snapwindow(struct client *client, int snap_mode); +static void snapwindow(struct client *client, int snap_mode); static void mousemove(struct client *client, int rel_x, int rel_y); static void mouseresize(struct client *client, int rel_x, int rel_y); static void movestep(struct client *client, char direction); @@ -2369,7 +2369,7 @@ void resizestep(struct client *client, char direction) /* * Try to snap to other windows and monitor border */ -void snapwindow(struct client *client, int snap_mode) +static void snapwindow(struct client *client, int snap_mode) { struct item *item; struct client *win; |