Merge pull request #1756 from emersion/output-damage

Fine-grained damage tracking
This commit is contained in:
Drew DeVault 2018-04-07 11:53:10 -04:00 committed by GitHub
commit c47b4d4edb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 339 additions and 269 deletions

View file

@ -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);
}