aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/desktop
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-06-24 23:01:09 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-06-24 23:01:09 +1000
commit1549fb719ae75a498bf319db45281464e72c759e (patch)
treee5944487928a65b1af3b7dc9a44f1b14250bc0bf /include/sway/desktop
parentFix crash when running move <direction> in an empty workspace (diff)
downloadsway-1549fb719ae75a498bf319db45281464e72c759e.tar.gz
sway-1549fb719ae75a498bf319db45281464e72c759e.tar.zst
sway-1549fb719ae75a498bf319db45281464e72c759e.zip
Implement atomic layout updates for xwayland views
Diffstat (limited to 'include/sway/desktop')
-rw-r--r--include/sway/desktop/transaction.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sway/desktop/transaction.h b/include/sway/desktop/transaction.h
index d6adc609..b1da86f1 100644
--- a/include/sway/desktop/transaction.h
+++ b/include/sway/desktop/transaction.h
@@ -50,6 +50,15 @@ void transaction_commit(struct sway_transaction *transaction);
50void transaction_notify_view_ready(struct sway_view *view, uint32_t serial); 50void transaction_notify_view_ready(struct sway_view *view, uint32_t serial);
51 51
52/** 52/**
53 * Notify the transaction system that a view is ready for the new layout, but
54 * identifying the instruction by width and height rather than by serial.
55 *
56 * This is used by xwayland views, as they don't have serials.
57 */
58void transaction_notify_view_ready_by_size(struct sway_view *view,
59 int width, int height);
60
61/**
53 * Get the texture that should be rendered for a view. 62 * Get the texture that should be rendered for a view.
54 * 63 *
55 * In most cases this will return the normal live texture for a view, but if the 64 * In most cases this will return the normal live texture for a view, but if the