Implement opacity command

This commit is contained in:
Tony Crisci 2018-04-03 00:47:45 -04:00 committed by Drew DeVault
parent f2153f3f28
commit fc9398a42e
8 changed files with 68 additions and 16 deletions

View file

@ -72,6 +72,8 @@ struct sway_container *container_create(enum sway_container_type type) {
c->layout = L_NONE;
c->workspace_layout = L_NONE;
c->type = type;
c->alpha = 1.0f;
if (type != C_VIEW) {
c->children = create_list();
}