summaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-10-09 11:45:51 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2023-10-09 11:45:51 -0600
commitb299e01e44d0277a254ba55a030a6d205133c50b (patch)
treee2c76e2f00a3da66d5cc5398cd83f6293b8857b2 /client.h
parent1333f8cc6ecbe8b1d4d73c4e3453997d0e5d84f1 (diff)
parent6d9a915fb60d38ebf0ae897fbd6affde39ed8d77 (diff)
Merge remote-tracking branch 'upstream/main' into wlroots-next
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