]> git.mdlowis.com Git - proto/labwc.git/commitdiff
chase: tearing hint
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Mon, 18 Mar 2024 23:19:24 +0000 (00:19 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Wed, 17 Jul 2024 20:28:59 +0000 (21:28 +0100)
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4480

src/tearing.c
subprojects/wlroots.wrap

index 45113de5c178cfde9a5368a693f49d06e50b3f99..583fe1e2469e2f70b0b3d9d5670c701c54fcca45 100644 (file)
@@ -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;
        }
 }
index 3af4fd57923f9d3602be8ea32633e8a91461dbfc..f1e3585ea4598a73d5fd07cb40e21b271837f79e 100644 (file)
@@ -1,6 +1,6 @@
 [wrap-git]
 url = https://gitlab.freedesktop.org/wlroots/wlroots.git
-revision = fe8916fef0bd5d0846dfadd5f8c49ac57beedc9a
+revision = 1968ada2132237f5bf8e40b6bf903fbce76c0b40
 
 [provide]
 dependency_names = wlroots