mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
client_cyclenext() -> client_cycle() since we now pass an arg.
removes a stray proto as well. discussed with and ok oga@
This commit is contained in:
parent
71f99ab78f
commit
6733ac217f
3
calmwm.h
3
calmwm.h
@ -340,7 +340,6 @@ void client_ptrwarp(struct client_ctx *);
|
|||||||
void client_ptrsave(struct client_ctx *);
|
void client_ptrsave(struct client_ctx *);
|
||||||
void client_draw_border(struct client_ctx *);
|
void client_draw_border(struct client_ctx *);
|
||||||
void client_update(struct client_ctx *);
|
void client_update(struct client_ctx *);
|
||||||
void client_cycle(struct client_ctx *);
|
|
||||||
void client_placecalc(struct client_ctx *);
|
void client_placecalc(struct client_ctx *);
|
||||||
void client_maximize(struct client_ctx *);
|
void client_maximize(struct client_ctx *);
|
||||||
void client_vertmaximize(struct client_ctx *);
|
void client_vertmaximize(struct client_ctx *);
|
||||||
@ -348,7 +347,7 @@ u_long client_bg_pixel(struct client_ctx *);
|
|||||||
Pixmap client_bg_pixmap(struct client_ctx *);
|
Pixmap client_bg_pixmap(struct client_ctx *);
|
||||||
void client_map(struct client_ctx *cc);
|
void client_map(struct client_ctx *cc);
|
||||||
void client_mtf(struct client_ctx *cc);
|
void client_mtf(struct client_ctx *cc);
|
||||||
struct client_ctx *client_cyclenext(int reverse);
|
struct client_ctx *client_cycle(int reverse);
|
||||||
struct client_ctx *client_mrunext(struct client_ctx *cc);
|
struct client_ctx *client_mrunext(struct client_ctx *cc);
|
||||||
struct client_ctx *client_mruprev(struct client_ctx *cc);
|
struct client_ctx *client_mruprev(struct client_ctx *cc);
|
||||||
void client_gethints(struct client_ctx *cc);
|
void client_gethints(struct client_ctx *cc);
|
||||||
|
2
client.c
2
client.c
@ -590,7 +590,7 @@ match:
|
|||||||
}
|
}
|
||||||
|
|
||||||
struct client_ctx *
|
struct client_ctx *
|
||||||
client_cyclenext(int reverse)
|
client_cycle(int reverse)
|
||||||
{
|
{
|
||||||
struct client_ctx *oldcc = client_current(), *newcc;
|
struct client_ctx *oldcc = client_current(), *newcc;
|
||||||
struct screen_ctx *sc = screen_current();
|
struct screen_ctx *sc = screen_current();
|
||||||
|
2
kbfunc.c
2
kbfunc.c
@ -182,7 +182,7 @@ kbfunc_client_cycle(struct client_ctx *scratch, void *arg)
|
|||||||
XGrabKeyboard(X_Dpy, sc->rootwin, True,
|
XGrabKeyboard(X_Dpy, sc->rootwin, True,
|
||||||
GrabModeAsync, GrabModeAsync, CurrentTime);
|
GrabModeAsync, GrabModeAsync, CurrentTime);
|
||||||
|
|
||||||
client_cyclenext((int)arg);
|
client_cycle((int)arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user