diff options
| author | emersion <contact@emersion.fr> | 2018-04-06 11:27:40 -0400 | 
|---|---|---|
| committer | emersion <contact@emersion.fr> | 2018-04-06 11:45:40 -0400 | 
| commit | 516f5454adb3fc7dd2e02258251b7cb6d6949aa3 (patch) | |
| tree | 22c6bdfa1f79224daca6403162d24acdf611a6f9 /sway/commands | |
| parent | d447460c0153a76a0bc484bb9866cef658b3102f (diff) | |
| download | sway-516f5454adb3fc7dd2e02258251b7cb6d6949aa3.tar.xz | |
Simplify damage tracking functions, use them in layer shell
Diffstat (limited to 'sway/commands')
| -rw-r--r-- | sway/commands/opacity.c | 5 | 
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) {  	}  	con->alpha = opacity; - -	if (con->type == C_VIEW) { -		view_damage_whole(con->sway_view); -	} +	container_damage_whole(con);  	return cmd_results_new(CMD_SUCCESS, NULL, NULL);  }  | 
