]> git.mdlowis.com Git - proto/labwc.git/commitdiff
chase wlroots: wlr_damage_ring_add no return val (MR 4817)
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Wed, 27 Nov 2024 03:51:25 +0000 (04:51 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Wed, 21 May 2025 05:36:08 +0000 (06:36 +0100)
Ref: 502eb38d80eb5a273f5481ec8559cb35d726f5da
("damage_ring: Remove return value of wlr_damage_ring_add/wlr_damage_ring_add_box")

src/common/scene-helpers.c
subprojects/wlroots.wrap

index 9992afc7714b6d215ec1c5ca38ada05ba72eae04..56ac0c572a431b7a4400c5a1b207be78d2c0494b 100644 (file)
@@ -50,9 +50,7 @@ static void
 scene_output_damage(struct wlr_scene_output *scene_output,
                const pixman_region32_t *region)
 {
-       if (!wlr_damage_ring_add(&scene_output->damage_ring, region)) {
-               return;
-       }
+       wlr_damage_ring_add(&scene_output->damage_ring, region);
 
        struct wlr_output *output = scene_output->output;
        enum wl_output_transform transform =
index 1913865915ba50dcd296b1bfd44b4097f82ffc0a..606bb44c8103d6960e93d8773f2dc60cd7c61202 100644 (file)
@@ -1,6 +1,6 @@
 [wrap-git]
 url = https://gitlab.freedesktop.org/wlroots/wlroots.git
-revision = 5c98d1a04a1439bf40c6e516086cfaff2d67f135
+revision = 502eb38d80eb5a273f5481ec8559cb35d726f5da
 
 [provide]
 dependency_names = wlroots-0.19