aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/opacity.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/opacity.c')
-rw-r--r--sway/commands/opacity.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sway/commands/opacity.c b/sway/commands/opacity.c
index b8cd1f09..68fd9f42 100644
--- a/sway/commands/opacity.c
+++ b/sway/commands/opacity.c
@@ -30,10 +30,7 @@ struct cmd_results *cmd_opacity(int argc, char **argv) {
30 } 30 }
31 31
32 con->alpha = opacity; 32 con->alpha = opacity;
33 33 container_damage_whole(con);
34 if (con->type == C_VIEW) {
35 view_damage_whole(con->sway_view);
36 }
37 34
38 return cmd_results_new(CMD_SUCCESS, NULL, NULL); 35 return cmd_results_new(CMD_SUCCESS, NULL, NULL);
39} 36}