aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop')
-rw-r--r--sway/desktop/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index 400f1d66..58368f20 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -596,7 +596,7 @@ static void damage_handle_frame(struct wl_listener *listener, void *user_data) {
596 // We only check tv_sec because if the predicted refresh time is less 596 // We only check tv_sec because if the predicted refresh time is less
597 // than a second before the current time, then msec_until_refresh will 597 // than a second before the current time, then msec_until_refresh will
598 // end up slightly below zero, which will effectively disable the delay 598 // end up slightly below zero, which will effectively disable the delay
599 // without potential disasterous negative overflows that could occur if 599 // without potential disastrous negative overflows that could occur if
600 // tv_sec was not checked. 600 // tv_sec was not checked.
601 if (predicted_refresh.tv_sec >= now.tv_sec) { 601 if (predicted_refresh.tv_sec >= now.tv_sec) {
602 long nsec_until_refresh 602 long nsec_until_refresh