aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-04-30 21:24:13 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-04-30 21:24:13 +1000
commite67f3543332349e63b5099a241fdd85ce28ea54b (patch)
tree54bede11d48f561693d1288e0980660c644b4dc3 /include/sway/config.h
parentMerge pull request #1873 from RyanDwyer/remove-arrange-windows (diff)
downloadsway-e67f3543332349e63b5099a241fdd85ce28ea54b.tar.gz
sway-e67f3543332349e63b5099a241fdd85ce28ea54b.tar.zst
sway-e67f3543332349e63b5099a241fdd85ce28ea54b.zip
Implement borders
Implements rendering of borders. Title text is still to do. Implements the following configuration directives: * client.focused * client.focused_inactive * client.unfocused * client.urgent * border * default_border
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index 87123289..a0113e98 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -204,11 +204,11 @@ struct bar_config {
204}; 204};
205 205
206struct border_colors { 206struct border_colors {
207 uint32_t border; 207 float border[4];
208 uint32_t background; 208 float background[4];
209 uint32_t text; 209 float text[4];
210 uint32_t indicator; 210 float indicator[4];
211 uint32_t child_border; 211 float child_border[4];
212}; 212};
213 213
214enum edge_border_types { 214enum edge_border_types {
@@ -338,7 +338,7 @@ struct sway_config {
338 struct border_colors unfocused; 338 struct border_colors unfocused;
339 struct border_colors urgent; 339 struct border_colors urgent;
340 struct border_colors placeholder; 340 struct border_colors placeholder;
341 uint32_t background; 341 float background[4];
342 } border_colors; 342 } border_colors;
343 343
344 // floating view 344 // floating view