diff options
author | okan <okan> | 2019-03-07 14:28:17 +0000 |
---|---|---|
committer | okan <okan> | 2019-03-07 14:28:17 +0000 |
commit | 7c45b87622c069a176359df3c632086540a7fe3f (patch) | |
tree | 9b515d87072ce60074e2ab985383acc3f8f28fae /calmwm.h | |
parent | 01be5b4e4a04e5f454d0e685c71c8023c7c0b731 (diff) | |
download | cwm-7c45b87622c069a176359df3c632086540a7fe3f.tar.gz cwm-7c45b87622c069a176359df3c632086540a7fe3f.tar.xz cwm-7c45b87622c069a176359df3c632086540a7fe3f.zip |
Teach client_current() to use a screen to find the current client instead of
iterating over all (fallback if no screen provided for now). Initially convert trivial uses of client_current().
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h index 089a9a2..00f42be 100644 --- a/calmwm.h +++ b/calmwm.h @@ -394,7 +394,7 @@ __dead void usage(void); void client_applysizehints(struct client_ctx *); void client_config(struct client_ctx *); -struct client_ctx *client_current(void); +struct client_ctx *client_current(struct screen_ctx *); void client_cycle(struct screen_ctx *, int); void client_remove(struct client_ctx *); void client_draw_border(struct client_ctx *); |