mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
de-static client_inbound()
This commit is contained in:
parent
74e4a3c60b
commit
08631748fd
1
calmwm.h
1
calmwm.h
@ -398,6 +398,7 @@ void client_lower(struct client_ctx *);
|
|||||||
void client_map(struct client_ctx *);
|
void client_map(struct client_ctx *);
|
||||||
void client_msg(struct client_ctx *, Atom, Time);
|
void client_msg(struct client_ctx *, Atom, Time);
|
||||||
void client_move(struct client_ctx *);
|
void client_move(struct client_ctx *);
|
||||||
|
int client_inbound(struct client_ctx *, int, int);
|
||||||
struct client_ctx *client_init(Window, struct screen_ctx *, int);
|
struct client_ctx *client_init(Window, struct screen_ctx *, int);
|
||||||
void client_ptrsave(struct client_ctx *);
|
void client_ptrsave(struct client_ctx *);
|
||||||
void client_ptrwarp(struct client_ctx *);
|
void client_ptrwarp(struct client_ctx *);
|
||||||
|
3
client.c
3
client.c
@ -37,7 +37,6 @@ static void client_mtf(struct client_ctx *);
|
|||||||
static void client_placecalc(struct client_ctx *);
|
static void client_placecalc(struct client_ctx *);
|
||||||
static void client_wm_protocols(struct client_ctx *);
|
static void client_wm_protocols(struct client_ctx *);
|
||||||
static void client_mwm_hints(struct client_ctx *);
|
static void client_mwm_hints(struct client_ctx *);
|
||||||
static int client_inbound(struct client_ctx *, int, int);
|
|
||||||
|
|
||||||
struct client_ctx *
|
struct client_ctx *
|
||||||
client_init(Window win, struct screen_ctx *sc, int active)
|
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)
|
client_inbound(struct client_ctx *cc, int x, int y)
|
||||||
{
|
{
|
||||||
return(x < cc->geom.w && x >= 0 &&
|
return(x < cc->geom.w && x >= 0 &&
|
||||||
|
Loading…
Reference in New Issue
Block a user