summaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'client.h')
-rw-r--r--client.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/client.h b/client.h
index 5a45edc..cf1ed85 100644
--- a/client.h
+++ b/client.h
@@ -324,6 +324,14 @@ client_send_close(Client *c)
}
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)
{
#ifdef XWAYLAND