diff options
| author | tslil clingman <tslil@posteo.de> | 2023-10-21 16:02:23 +0200 |
|---|---|---|
| committer | tslil clingman <tslil@posteo.de> | 2023-10-21 16:02:23 +0200 |
| commit | 4e7f0d014f4b1ffc2b0a302e64c19e440c6bbe68 (patch) | |
| tree | 16787ca463e90aa5e872322d9229c8f84b7e7ea9 /dwl/client.h | |
| parent | 8607fd0b5d3cb9efcd4bd805321128713823271d (diff) | |
[dwl] merge changes from upstream
Diffstat (limited to 'dwl/client.h')
| -rw-r--r-- | dwl/client.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dwl/client.h b/dwl/client.h index 5a45edc..cf1ed85 100644 --- a/dwl/client.h +++ b/dwl/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 |
