From 72fd2af4f236809bed9759f208d9fd40bdbf7314 Mon Sep 17 00:00:00 2001 From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Tue, 19 Mar 2024 00:19:24 +0100 Subject: [PATCH] chase: tearing hint https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4480 --- src/tearing.c | 2 +- subprojects/wlroots.wrap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tearing.c b/src/tearing.c index 45113de5..583fe1e2 100644 --- a/src/tearing.c +++ b/src/tearing.c @@ -15,7 +15,7 @@ set_tearing_hint(struct wl_listener *listener, void *data) { struct tearing_controller *controller = wl_container_of(listener, controller, set_hint); struct view *view = view_from_wlr_surface(controller->tearing_control->surface); - if (view && controller->tearing_control->hint) { + if (view && controller->tearing_control->current) { view->tearing_hint = true; } } diff --git a/subprojects/wlroots.wrap b/subprojects/wlroots.wrap index 3af4fd57..f1e3585e 100644 --- a/subprojects/wlroots.wrap +++ b/subprojects/wlroots.wrap @@ -1,6 +1,6 @@ [wrap-git] url = https://gitlab.freedesktop.org/wlroots/wlroots.git -revision = fe8916fef0bd5d0846dfadd5f8c49ac57beedc9a +revision = 1968ada2132237f5bf8e40b6bf903fbce76c0b40 [provide] dependency_names = wlroots -- 2.52.0