mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
make client_mtf static
This commit is contained in:
parent
3a3e0383b2
commit
8e67d1389c
1
calmwm.h
1
calmwm.h
@ -331,7 +331,6 @@ void client_lower(struct client_ctx *);
|
|||||||
void client_map(struct client_ctx *);
|
void client_map(struct client_ctx *);
|
||||||
void client_maximize(struct client_ctx *);
|
void client_maximize(struct client_ctx *);
|
||||||
void client_move(struct client_ctx *);
|
void client_move(struct client_ctx *);
|
||||||
void client_mtf(struct client_ctx *);
|
|
||||||
struct client_ctx *client_new(Window, struct screen_ctx *, int);
|
struct client_ctx *client_new(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 *);
|
||||||
|
5
client.c
5
client.c
@ -33,6 +33,7 @@
|
|||||||
|
|
||||||
static struct client_ctx *client_mrunext(struct client_ctx *);
|
static struct client_ctx *client_mrunext(struct client_ctx *);
|
||||||
static struct client_ctx *client_mruprev(struct client_ctx *);
|
static struct client_ctx *client_mruprev(struct client_ctx *);
|
||||||
|
static void client_mtf(struct client_ctx *);
|
||||||
static void client_none(struct screen_ctx *);
|
static void client_none(struct screen_ctx *);
|
||||||
static void client_placecalc(struct client_ctx *);
|
static void client_placecalc(struct client_ctx *);
|
||||||
static void client_update(struct client_ctx *);
|
static void client_update(struct client_ctx *);
|
||||||
@ -731,7 +732,7 @@ client_placecalc(struct client_ctx *cc)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
client_mtf(struct client_ctx *cc)
|
client_mtf(struct client_ctx *cc)
|
||||||
{
|
{
|
||||||
struct screen_ctx *sc;
|
struct screen_ctx *sc;
|
||||||
@ -742,8 +743,6 @@ client_mtf(struct client_ctx *cc)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
sc = cc->sc;
|
sc = cc->sc;
|
||||||
|
|
||||||
/* Move to front. */
|
|
||||||
TAILQ_REMOVE(&sc->mruq, cc, mru_entry);
|
TAILQ_REMOVE(&sc->mruq, cc, mru_entry);
|
||||||
TAILQ_INSERT_HEAD(&sc->mruq, cc, mru_entry);
|
TAILQ_INSERT_HEAD(&sc->mruq, cc, mru_entry);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user