mirror of
https://github.com/swaywm/sway.git
synced 2025-11-11 13:29:51 -05:00
Implement transaction timings debug
Launch sway with SWAY_DEBUG=txn_timings to enable it.
This commit is contained in:
parent
a3976e2659
commit
289d696adc
3 changed files with 29 additions and 0 deletions
|
|
@ -113,6 +113,10 @@ bool server_init(struct sway_server *server) {
|
|||
return false;
|
||||
}
|
||||
|
||||
const char *debug = getenv("SWAY_DEBUG");
|
||||
if (debug != NULL && strcmp(debug, "txn_timings") == 0) {
|
||||
server->debug_txn_timings = true;
|
||||
}
|
||||
server->destroying_containers = create_list();
|
||||
|
||||
input_manager = input_manager_create(server);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue