summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2016-09-20 19:11:19 +0000
committerokan <okan>2016-09-20 19:11:19 +0000
commit08631748fdd4abfdb90c6f57acb273e066bef1f4 (patch)
tree68d8c654cd303a96500b511276d4d8d0f3f7fe79
parent74e4a3c60b75db4687d1032cc3d95709ccd4fb90 (diff)
downloadcwm-08631748fdd4abfdb90c6f57acb273e066bef1f4.tar.gz
cwm-08631748fdd4abfdb90c6f57acb273e066bef1f4.tar.xz
cwm-08631748fdd4abfdb90c6f57acb273e066bef1f4.zip
de-static client_inbound()
-rw-r--r--calmwm.h1
-rw-r--r--client.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/calmwm.h b/calmwm.h
index c6d9ca7..60989c9 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -398,6 +398,7 @@ void			 client_lower(struct client_ctx *);
 void			 client_map(struct client_ctx *);
 void			 client_msg(struct client_ctx *, Atom, Time);
 void			 client_move(struct client_ctx *);
+int			 client_inbound(struct client_ctx *, int, int);
 struct client_ctx	*client_init(Window, struct screen_ctx *, int);
 void			 client_ptrsave(struct client_ctx *);
 void			 client_ptrwarp(struct client_ctx *);
diff --git a/client.c b/client.c
index 8ccf033..9fb097a 100644
--- a/client.c
+++ b/client.c
@@ -37,7 +37,6 @@ static void			 client_mtf(struct client_ctx *);
 static void			 client_placecalc(struct client_ctx *);
 static void			 client_wm_protocols(struct client_ctx *);
 static void			 client_mwm_hints(struct client_ctx *);
-static int			 client_inbound(struct client_ctx *, int, int);
 
 struct client_ctx *
 client_init(Window win, struct screen_ctx *sc, int active)
@@ -917,7 +916,7 @@ client_transient(struct client_ctx *cc)
 	}
 }
 
-static int
+int
 client_inbound(struct client_ctx *cc, int x, int y)
 {
 	return(x < cc->geom.w && x >= 0 &&