mirror of
https://github.com/swaywm/sway.git
synced 2025-11-24 06:59: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
|
|
@ -14,6 +14,7 @@ void list_add(list_t *list, void *item);
|
|||
void list_insert(list_t *list, int index, void *item);
|
||||
void list_del(list_t *list, int index);
|
||||
void list_cat(list_t *list, list_t *source);
|
||||
void list_empty(list_t *list);
|
||||
// See qsort. Remember to use *_qsort functions as compare functions,
|
||||
// because they dereference the left and right arguments first!
|
||||
void list_qsort(list_t *list, int compare(const void *left, const void *right));
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ struct sway_server {
|
|||
|
||||
bool debug_txn_timings;
|
||||
|
||||
struct sway_transaction *head_transaction; // singly linked list
|
||||
list_t *transactions;
|
||||
|
||||
// When a view is being destroyed and is waiting for a transaction to
|
||||
// complete it will be stored here.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue