summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-06-27 19:07:48 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-06-27 19:07:48 +1000
commit9652529cc161e943241d946dac93ab16d5e30ee5 (patch)
treead1b0c728dd970449e7033f3b3eda4b549bd3fab /include
parentMove unsetting of view->surface into view_unmap (diff)
downloadsway-9652529cc161e943241d946dac93ab16d5e30ee5.tar.gz
sway-9652529cc161e943241d946dac93ab16d5e30ee5.tar.zst
sway-9652529cc161e943241d946dac93ab16d5e30ee5.zip
Allow views to skip configures
To do this properly, the transaction queue will only be processed if it can be completely processed.
Diffstat (limited to 'include')
-rw-r--r--include/list.h1
-rw-r--r--include/sway/server.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/list.h b/include/list.h
index 7eead4ac..d352dbd5 100644
--- a/include/list.h
+++ b/include/list.h
@@ -14,6 +14,7 @@ void list_add(list_t *list, void *item);
14void list_insert(list_t *list, int index, void *item); 14void list_insert(list_t *list, int index, void *item);
15void list_del(list_t *list, int index); 15void list_del(list_t *list, int index);
16void list_cat(list_t *list, list_t *source); 16void list_cat(list_t *list, list_t *source);
17void list_empty(list_t *list);
17// See qsort. Remember to use *_qsort functions as compare functions, 18// See qsort. Remember to use *_qsort functions as compare functions,
18// because they dereference the left and right arguments first! 19// because they dereference the left and right arguments first!
19void list_qsort(list_t *list, int compare(const void *left, const void *right)); 20void list_qsort(list_t *list, int compare(const void *left, const void *right));
diff --git a/include/sway/server.h b/include/sway/server.h
index bd96b085..0efc6baa 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -47,7 +47,7 @@ struct sway_server {
47 47
48 bool debug_txn_timings; 48 bool debug_txn_timings;
49 49
50 struct sway_transaction *head_transaction; // singly linked list 50 list_t *transactions;
51 51
52 // When a view is being destroyed and is waiting for a transaction to 52 // When a view is being destroyed and is waiting for a transaction to
53 // complete it will be stored here. 53 // complete it will be stored here.