mirror of
https://github.com/swaywm/sway.git
synced 2025-11-11 13:29:51 -05:00
Allow views to skip configures
To do this properly, the transaction queue will only be processed if it can be completely processed.
This commit is contained in:
parent
e6829c5991
commit
9652529cc1
5 changed files with 42 additions and 22 deletions
|
|
@ -119,6 +119,8 @@ bool server_init(struct sway_server *server) {
|
|||
}
|
||||
server->destroying_containers = create_list();
|
||||
|
||||
server->transactions = create_list();
|
||||
|
||||
input_manager = input_manager_create(server);
|
||||
return true;
|
||||
}
|
||||
|
|
@ -127,6 +129,7 @@ void server_fini(struct sway_server *server) {
|
|||
// TODO: free sway-specific resources
|
||||
wl_display_destroy(server->wl_display);
|
||||
list_free(server->destroying_containers);
|
||||
list_free(server->transactions);
|
||||
}
|
||||
|
||||
void server_run(struct sway_server *server) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue