aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-04-07 11:53:10 -0400
committerLibravatar GitHub <noreply@github.com>2018-04-07 11:53:10 -0400
commitc47b4d4edb7714612ec7236fafda5ca54cb92ce4 (patch)
tree9a7f991e9c3da20351b58c53e0b6dbe376f12dca /sway/commands
parentMerge pull request #1700 from swaywm/move-cmd-full (diff)
parentDamage all surfaces when damaging whole container (diff)
downloadsway-c47b4d4edb7714612ec7236fafda5ca54cb92ce4.tar.gz
sway-c47b4d4edb7714612ec7236fafda5ca54cb92ce4.tar.zst
sway-c47b4d4edb7714612ec7236fafda5ca54cb92ce4.zip
Merge pull request #1756 from emersion/output-damage
Fine-grained damage tracking
Diffstat (limited to 'sway/commands')
-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}