diff options
author | Kenny Levinsen <kl@kl.wtf> | 2021-02-08 23:05:27 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-02-23 19:38:05 +0100 |
commit | 1989b18ff281cb75f0e62a20e663767a9e82e55d (patch) | |
tree | 5293ec8ba2c00cdcc0bad84c243e94d9c97e78e7 | |
parent | 35b9a41720e04bd7c74e81e0a63ee69d540f39e1 (diff) | |
download | sway-1989b18ff281cb75f0e62a20e663767a9e82e55d.tar.xz |
transaction: Remove unused ready_immediately
-rw-r--r-- | include/sway/desktop/transaction.h | 6 | ||||
-rw-r--r-- | sway/desktop/transaction.c | 8 |
2 files changed, 0 insertions, 14 deletions
diff --git a/include/sway/desktop/transaction.h b/include/sway/desktop/transaction.h index af28169e..7dd58ba8 100644 --- a/include/sway/desktop/transaction.h +++ b/include/sway/desktop/transaction.h @@ -51,10 +51,4 @@ void transaction_notify_view_ready_by_serial(struct sway_view *view, void transaction_notify_view_ready_by_geometry(struct sway_view *view, double x, double y, int width, int height); -/** - * Unconditionally notify the transaction system that a view is ready for the - * new layout. - */ -void transaction_notify_view_ready_immediately(struct sway_view *view); - #endif diff --git a/sway/desktop/transaction.c b/sway/desktop/transaction.c index 21915207..b1f3fb32 100644 --- a/sway/desktop/transaction.c +++ b/sway/desktop/transaction.c @@ -521,14 +521,6 @@ void transaction_notify_view_ready_by_geometry(struct sway_view *view, } } -void transaction_notify_view_ready_immediately(struct sway_view *view) { - struct sway_transaction_instruction *instruction = - view->container->node.instruction; - if (instruction != NULL) { - set_instruction_ready(instruction); - } -} - static void _transaction_commit_dirty(bool server_request) { if (!server.dirty_nodes->length) { return; |