aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/server.h
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-08-18 16:58:50 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-08-19 16:17:24 +1000
commit8d1dd038233cf946b36813c4c8508c17f4cda0fc (patch)
treee672976231d33467da6c8a03633c604eb0c8deb8 /include/sway/server.h
parentMerge pull request #2453 from ianyfan/commands (diff)
downloadsway-8d1dd038233cf946b36813c4c8508c17f4cda0fc.tar.gz
sway-8d1dd038233cf946b36813c4c8508c17f4cda0fc.tar.zst
sway-8d1dd038233cf946b36813c4c8508c17f4cda0fc.zip
Standardise debug variables
This makes all debug options stored in a single struct rather than in various places, changes/fixes the behaviour of existing options, and introduces some new options. * Fixes damage issues with `-Drender-tree` texture (by removing scissor) * Offsets the render tree overlay's `y` position for those who have swaybar at the top * Replaces `-Ddamage=rerender` with `-Dnodamage` * Replaces `-Ddamage=highlight` with `-Dhighlight-damage` * Replaces `-Dtxn-debug` with `-Dtxn-wait` * Introduces `-Dnoatomic` * Removes the `create_time` and `ms_arranging` figures from transactions and the log message. Transactions are created after arranging and the create time is of no significance. * Fixes `-Dtxn-debug` (now `-Dtxn-wait`) not working.
Diffstat (limited to 'include/sway/server.h')
-rw-r--r--include/sway/server.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sway/server.h b/include/sway/server.h
index b93584b6..1e20f2c8 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -54,8 +54,7 @@ struct sway_server {
54 struct wl_listener server_decoration; 54 struct wl_listener server_decoration;
55 struct wl_list decorations; // sway_server_decoration::link 55 struct wl_list decorations; // sway_server_decoration::link
56 56
57 bool debug_txn_timings; 57 size_t txn_timeout_ms;
58
59 list_t *transactions; 58 list_t *transactions;
60 list_t *dirty_containers; 59 list_t *dirty_containers;
61}; 60};