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 | |
parent | Fix another crash when moving out of stacks or tabs (diff) | |
download | sway-289d696adc22a4247345cb544454bac0dfd5d828.tar.gz sway-289d696adc22a4247345cb544454bac0dfd5d828.tar.zst sway-289d696adc22a4247345cb544454bac0dfd5d828.zip |
Implement transaction timings debug
Launch sway with SWAY_DEBUG=txn_timings to enable it.
Diffstat (limited to 'include')
-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 { | |||
45 | struct wlr_wl_shell *wl_shell; | 45 | struct wlr_wl_shell *wl_shell; |
46 | struct wl_listener wl_shell_surface; | 46 | struct wl_listener wl_shell_surface; |
47 | 47 | ||
48 | bool debug_txn_timings; | ||
49 | |||
48 | bool terminating; | 50 | bool terminating; |
49 | 51 | ||
50 | struct sway_transaction *head_transaction; // singly linked list | 52 | struct sway_transaction *head_transaction; // singly linked list |