aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/desktop
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-06-27 17:46:03 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-06-27 17:46:03 +1000
commitbe86d3aba602fef7b51fafa8a6e7a39d1e49817f (patch)
treeba4e3debd236eb39337cd4f59772b2eaf260195f /include/sway/desktop
parentFix nitpicks (diff)
downloadsway-be86d3aba602fef7b51fafa8a6e7a39d1e49817f.tar.gz
sway-be86d3aba602fef7b51fafa8a6e7a39d1e49817f.tar.zst
sway-be86d3aba602fef7b51fafa8a6e7a39d1e49817f.zip
Remove transaction_add_damage
Instead, damage each container when applying the transaction.
Diffstat (limited to 'include/sway/desktop')
-rw-r--r--include/sway/desktop/transaction.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/sway/desktop/transaction.h b/include/sway/desktop/transaction.h
index b1da86f1..fcfed297 100644
--- a/include/sway/desktop/transaction.h
+++ b/include/sway/desktop/transaction.h
@@ -31,13 +31,6 @@ void transaction_add_container(struct sway_transaction *transaction,
31 struct sway_container *container); 31 struct sway_container *container);
32 32
33/** 33/**
34 * Add a box to be damaged when the transaction is applied.
35 * The box should be in layout coordinates.
36 */
37void transaction_add_damage(struct sway_transaction *transaction,
38 struct wlr_box *box);
39
40/**
41 * Submit a transaction to the client views for configuration. 34 * Submit a transaction to the client views for configuration.
42 */ 35 */
43void transaction_commit(struct sway_transaction *transaction); 36void transaction_commit(struct sway_transaction *transaction);