diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2016-09-20 19:11:20 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2016-09-20 19:11:20 +0000 |
commit | 3e2f20cd5ee344074161f6fc303a6f141543d240 (patch) | |
tree | 9164151b37054729b0cc54ae9ac4f61928dd46b0 /app | |
parent | bbd41155690cf621f765a15052f4702f7ec20f1d (diff) |
de-static client_inbound()
Diffstat (limited to 'app')
-rw-r--r-- | app/cwm/calmwm.h | 3 | ||||
-rw-r--r-- | app/cwm/client.c | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/cwm/calmwm.h b/app/cwm/calmwm.h index 8305ba69f..4c95018b9 100644 --- a/app/cwm/calmwm.h +++ b/app/cwm/calmwm.h @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.h,v 1.312 2016/09/16 14:32:02 okan Exp $ + * $OpenBSD: calmwm.h,v 1.313 2016/09/20 19:11:19 okan Exp $ */ #ifndef _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/app/cwm/client.c b/app/cwm/client.c index 724bf4773..62ebc36d5 100644 --- a/app/cwm/client.c +++ b/app/cwm/client.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: client.c,v 1.223 2016/09/20 18:21:32 okan Exp $ + * $OpenBSD: client.c,v 1.224 2016/09/20 19:11:19 okan Exp $ */ #include <sys/types.h> @@ -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 && |