transaction: Remove unused ready_immediately
This commit is contained in:
parent
35b9a41720
commit
1989b18ff2
|
@ -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,
|
void transaction_notify_view_ready_by_geometry(struct sway_view *view,
|
||||||
double x, double y, int width, int height);
|
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
|
#endif
|
||||||
|
|
|
@ -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) {
|
static void _transaction_commit_dirty(bool server_request) {
|
||||||
if (!server.dirty_nodes->length) {
|
if (!server.dirty_nodes->length) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue