restore restart-delay

This commit is contained in:
piotr
2023-01-08 23:50:01 +01:00
parent 0ac7499059
commit 05d3e6cf23

View File

@@ -123,7 +123,7 @@ def check_tree():
else:
print("Number of outputs increased ({}); restart in {} ms."
.format(num, common_settings["restart-delay"]))
Gdk.threads_add_timeout(GLib.PRIORITY_DEFAULT_IDLE, 0, restart)
Gdk.threads_add_timeout(GLib.PRIORITY_DEFAULT_IDLE, common_settings["restart-delay"], restart)
common.outputs_num = num