summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cardell Widerkrantz <mc@hack.org>2013-08-19 16:00:10 +0200
committerMichael Cardell Widerkrantz <mc@hack.org>2013-08-19 16:00:10 +0200
commit7727a7ea874994d6b2ad4759fc20f59cae5822af (patch)
tree6e4660bc3b5ddd48d6b2f02c80181b78cface491
parentd20afb197384ca8fdd3b9873a74fb856f0a8abf7 (diff)
downloadmcwm-7727a7ea874994d6b2ad4759fc20f59cae5822af.zip
snapwindow() should be static like all other functions.
-rw-r--r--mcwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcwm.c b/mcwm.c
index 0d916e5..fd7d28f 100644
--- a/mcwm.c
+++ b/mcwm.c
@@ -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;