From 74a07e98a76678714e28c1085f0068d7abe7b9db Mon Sep 17 00:00:00 2001 From: okan Date: Thu, 7 Mar 2019 14:28:17 +0000 Subject: 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(). --- calmwm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index ef622a7..864f4f4 100644 --- a/calmwm.h +++ b/calmwm.h @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.h,v 1.370 2019/03/07 13:14:41 okan Exp $ + * $OpenBSD: calmwm.h,v 1.371 2019/03/07 14:28:17 okan Exp $ */ #ifndef _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 *); -- cgit v1.2.3-2-gb3c3