mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
since mruq has been folded in, rename mru-named functions
This commit is contained in:
parent
26ba152692
commit
bc70374264
12
client.c
12
client.c
@ -31,8 +31,8 @@
|
|||||||
|
|
||||||
#include "calmwm.h"
|
#include "calmwm.h"
|
||||||
|
|
||||||
static struct client_ctx *client_mrunext(struct client_ctx *);
|
static struct client_ctx *client_next(struct client_ctx *);
|
||||||
static struct client_ctx *client_mruprev(struct client_ctx *);
|
static struct client_ctx *client_prev(struct client_ctx *);
|
||||||
static void client_mtf(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 *);
|
||||||
@ -654,8 +654,8 @@ client_cycle(struct screen_ctx *sc, int flags)
|
|||||||
while (again) {
|
while (again) {
|
||||||
again = 0;
|
again = 0;
|
||||||
|
|
||||||
newcc = (flags & CWM_RCYCLE ? client_mruprev(newcc) :
|
newcc = (flags & CWM_RCYCLE ? client_prev(newcc) :
|
||||||
client_mrunext(newcc));
|
client_next(newcc));
|
||||||
|
|
||||||
/* Only cycle visible and non-ignored windows. */
|
/* Only cycle visible and non-ignored windows. */
|
||||||
if ((newcc->flags & (CLIENT_HIDDEN|CLIENT_IGNORE))
|
if ((newcc->flags & (CLIENT_HIDDEN|CLIENT_IGNORE))
|
||||||
@ -692,7 +692,7 @@ client_cycle_leave(struct screen_ctx *sc)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static struct client_ctx *
|
static struct client_ctx *
|
||||||
client_mrunext(struct client_ctx *cc)
|
client_next(struct client_ctx *cc)
|
||||||
{
|
{
|
||||||
struct screen_ctx *sc = cc->sc;
|
struct screen_ctx *sc = cc->sc;
|
||||||
struct client_ctx *ccc;
|
struct client_ctx *ccc;
|
||||||
@ -702,7 +702,7 @@ client_mrunext(struct client_ctx *cc)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static struct client_ctx *
|
static struct client_ctx *
|
||||||
client_mruprev(struct client_ctx *cc)
|
client_prev(struct client_ctx *cc)
|
||||||
{
|
{
|
||||||
struct screen_ctx *sc = cc->sc;
|
struct screen_ctx *sc = cc->sc;
|
||||||
struct client_ctx *ccc;
|
struct client_ctx *ccc;
|
||||||
|
Loading…
Reference in New Issue
Block a user