aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/output.c
diff options
context:
space:
mode:
authorLibravatar Jason <jason@kayoway.com>2019-11-23 19:38:15 +0900
committerLibravatar Simon Ser <contact@emersion.fr>2019-11-23 11:48:31 +0100
commit939c7b2d529b8c982672a6e141a8bef2348d358a (patch)
tree974fe362f3fa08d41376e82ef4c7b9410094e766 /sway/desktop/output.c
parentUse new presentation-time helper (diff)
downloadsway-939c7b2d529b8c982672a6e141a8bef2348d358a.tar.gz
sway-939c7b2d529b8c982672a6e141a8bef2348d358a.tar.zst
sway-939c7b2d529b8c982672a6e141a8bef2348d358a.zip
Amend typos
Diffstat (limited to 'sway/desktop/output.c')
-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