Implement transaction timings debug

Launch sway with SWAY_DEBUG=txn_timings to enable it.
This commit is contained in:
Ryan Dwyer 2018-06-25 09:09:43 +10:00
parent a3976e2659
commit 289d696adc
3 changed files with 29 additions and 0 deletions

View file

@ -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