diff options
author | Will McKinnon <[email protected]> | 2022-10-21 00:44:03 -0400 |
---|---|---|
committer | Will McKinnon <[email protected]> | 2022-10-21 00:44:03 -0400 |
commit | ab5e65e050d04bdb4638a8cb6e8632f337a46292 (patch) | |
tree | d0a54a348e5a51ab498098649b0378a7f0eeeb48 /sway/tree | |
parent | f27ee32bd85447f1b82382ad33247b99f257667e (diff) |
refactor: move corner_radius to container struct
Diffstat (limited to 'sway/tree')
-rw-r--r-- | sway/tree/container.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c index 17289dd3..afc6d685 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c @@ -40,6 +40,7 @@ struct sway_container *container_create(struct sway_view *view) { c->pending.layout = L_NONE; c->view = view; c->alpha = 1.0f; + c->corner_radius = config->corner_radius; if (!view) { c->pending.children = create_list(); |