sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 6f6b82793d95e3c10d54bcf21ca3f0c76c44b882
parent f2425b4fd64314394aa962cee12b617fb7e5b10f
Author: Bill Li <billli11hkb@gmail.com>
Date:   Tue, 31 Oct 2023 11:11:02 +0800

chase wlroots!4411

    References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4411
    fix #7802

Diffstat:
Msway/desktop/output.c | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sway/desktop/output.c b/sway/desktop/output.c @@ -706,9 +706,7 @@ static void handle_frame(struct wl_listener *listener, void *user_data) { if (output->max_render_time != 0) { struct timespec now; - clockid_t presentation_clock - = wlr_backend_get_presentation_clock(server.backend); - clock_gettime(presentation_clock, &now); + clock_gettime(CLOCK_MONOTONIC, &now); const long NSEC_IN_SECONDS = 1000000000; struct timespec predicted_refresh = output->last_presentation;