]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Chase wlroots: use output commit event state
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Fri, 6 Oct 2023 17:47:40 +0000 (19:47 +0200)
committerJohan Malm <johanmalm@users.noreply.github.com>
Mon, 27 Nov 2023 21:01:53 +0000 (21:01 +0000)
Chases: 5fb0007e0249388792f3772c30bfabf8d551dec0
output_event_commit: Remove committed and buffer

src/session-lock.c
subprojects/wlroots.wrap

index 00676577b63ecd9c5fa9a5d63fec91a25a3b07f9..ba0d407a519c204ba7f6a414b601f5f1cfcbeb2e 100644 (file)
@@ -143,7 +143,7 @@ handle_commit(struct wl_listener *listener, void *data)
        struct session_lock_output *output = wl_container_of(listener, output, commit);
        uint32_t require_reconfigure = WLR_OUTPUT_STATE_MODE
                | WLR_OUTPUT_STATE_SCALE | WLR_OUTPUT_STATE_TRANSFORM;
-       if (event->committed & require_reconfigure) {
+       if (event->state->committed & require_reconfigure) {
                lock_output_reconfigure(output);
        }
 }
index bb512d82c479af00b428bf17062fcc3ff2f85ac3..23288cf0d5ec94f0dfd210b49a19a3e46c187824 100644 (file)
@@ -1,6 +1,6 @@
 [wrap-git]
 url = https://gitlab.freedesktop.org/wlroots/wlroots.git
-revision = a289f812d62059d5aac92cbd374dcb7b03bb08a6
+revision = 5fb0007e0249388792f3772c30bfabf8d551dec0
 
 [provide]
 dependency_names = wlroots