Remove transaction_add_damage

Instead, damage each container when applying the transaction.
This commit is contained in:
Ryan Dwyer 2018-06-27 17:46:03 +10:00
parent 61c1187685
commit be86d3aba6
7 changed files with 24 additions and 55 deletions

View file

@ -30,13 +30,6 @@ struct sway_transaction *transaction_create(void);
void transaction_add_container(struct sway_transaction *transaction,
struct sway_container *container);
/**
* Add a box to be damaged when the transaction is applied.
* The box should be in layout coordinates.
*/
void transaction_add_damage(struct sway_transaction *transaction,
struct wlr_box *box);
/**
* Submit a transaction to the client views for configuration.
*/