From 4e7f0d014f4b1ffc2b0a302e64c19e440c6bbe68 Mon Sep 17 00:00:00 2001 From: tslil clingman Date: Sat, 21 Oct 2023 16:02:23 +0200 Subject: [dwl] merge changes from upstream --- dwl/client.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'dwl/client.h') diff --git a/dwl/client.h b/dwl/client.h index 5a45edc..cf1ed85 100644 --- a/dwl/client.h +++ b/dwl/client.h @@ -323,6 +323,14 @@ client_send_close(Client *c) wlr_xdg_toplevel_send_close(c->surface.xdg->toplevel); } +static inline void +client_set_border_color(Client *c, const float color[static 4]) +{ + int i; + for (i = 0; i < 4; i++) + wlr_scene_rect_set_color(c->border[i], color); +} + static inline void client_set_fullscreen(Client *c, int fullscreen) { -- cgit v1.2.3