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 80152cc..6fc7c93 100644
--- a/client.h
+++ b/client.h
@@ -312,6 +312,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