diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-25 09:09:43 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-25 09:09:43 +1000 |
commit | 289d696adc22a4247345cb544454bac0dfd5d828 (patch) | |
tree | 8593b9b8ca3669e91c67b42e10745226e155fbad /include/sway | |
parent | a3976e2659ec3a90ba606ca5a93cfa8e78c410e1 (diff) | |
download | sway-289d696adc22a4247345cb544454bac0dfd5d828.tar.xz |
Implement transaction timings debug
Launch sway with SWAY_DEBUG=txn_timings to enable it.
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/server.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h index 2aa7b7fe..94e8f2a2 100644 --- a/include/sway/server.h +++ b/include/sway/server.h @@ -45,6 +45,8 @@ struct sway_server { struct wlr_wl_shell *wl_shell; struct wl_listener wl_shell_surface; + bool debug_txn_timings; + bool terminating; struct sway_transaction *head_transaction; // singly linked list |