diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/desktop/transaction.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/include/sway/desktop/transaction.h b/include/sway/desktop/transaction.h index 66e8c9a2..175489c5 100644 --- a/include/sway/desktop/transaction.h +++ b/include/sway/desktop/transaction.h | |||
@@ -38,11 +38,17 @@ void transaction_notify_view_ready_by_serial(struct sway_view *view, | |||
38 | 38 | ||
39 | /** | 39 | /** |
40 | * Notify the transaction system that a view is ready for the new layout, but | 40 | * Notify the transaction system that a view is ready for the new layout, but |
41 | * identifying the instruction by width and height rather than by serial. | 41 | * identifying the instruction by geometry rather than by serial. |
42 | * | 42 | * |
43 | * This is used by xwayland views, as they don't have serials. | 43 | * This is used by xwayland views, as they don't have serials. |
44 | */ | 44 | */ |
45 | void transaction_notify_view_ready_by_size(struct sway_view *view, | 45 | void transaction_notify_view_ready_by_geometry(struct sway_view *view, |
46 | int width, int height); | 46 | double x, double y, int width, int height); |
47 | |||
48 | /** | ||
49 | * Unconditionally notify the transaction system that a view is ready for the | ||
50 | * new layout. | ||
51 | */ | ||
52 | void transaction_notify_view_ready_immediately(struct sway_view *view); | ||
47 | 53 | ||
48 | #endif | 54 | #endif |