summaryrefslogtreecommitdiffstats
path: root/sway/tree/container.c
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-04-04 22:01:00 -0400
committerLibravatar GitHub <noreply@github.com>2018-04-04 22:01:00 -0400
commit5a646221815f6793f844412b82b185b415b32157 (patch)
tree490f5c672ea2362b1b4cf4e34e13232df0502270 /sway/tree/container.c
parentMerge pull request #1705 from swaywm/swaylock-layers (diff)
parentImplement opacity command (diff)
downloadsway-5a646221815f6793f844412b82b185b415b32157.tar.gz
sway-5a646221815f6793f844412b82b185b415b32157.tar.zst
sway-5a646221815f6793f844412b82b185b415b32157.zip
Merge pull request #1707 from acrisci/transparency
Implement opacity command
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r--sway/tree/container.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index 753f333c..3be08645 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -72,6 +72,8 @@ struct sway_container *container_create(enum sway_container_type type) {
72 c->layout = L_NONE; 72 c->layout = L_NONE;
73 c->workspace_layout = L_NONE; 73 c->workspace_layout = L_NONE;
74 c->type = type; 74 c->type = type;
75 c->alpha = 1.0f;
76
75 if (type != C_VIEW) { 77 if (type != C_VIEW) {
76 c->children = create_list(); 78 c->children = create_list();
77 } 79 }