]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Chase wlroots: xdg-decoration now references a toplevel
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Mon, 21 Aug 2023 15:59:22 +0000 (17:59 +0200)
committerJohan Malm <johanmalm@users.noreply.github.com>
Mon, 27 Nov 2023 21:01:53 +0000 (21:01 +0000)
Chases: bdc34401ba8e4a59b3464c17fa5acf43ca417e57
xdg-decoration: store an xdg_toplevel instead of xdg_surface

src/decorations/xdg-deco.c
subprojects/wlroots.wrap

index 38181eb332167eaf78301d3e8ead9a2f5408b0d8..3fa1094012ff066e1da41dedf3a51117991ddc14 100644 (file)
@@ -56,7 +56,7 @@ static void
 xdg_toplevel_decoration(struct wl_listener *listener, void *data)
 {
        struct wlr_xdg_toplevel_decoration_v1 *wlr_xdg_decoration = data;
-       struct wlr_xdg_surface *xdg_surface = wlr_xdg_decoration->surface;
+       struct wlr_xdg_surface *xdg_surface = wlr_xdg_decoration->toplevel->base;
        if (!xdg_surface || !xdg_surface->data) {
                wlr_log(WLR_ERROR,
                        "Invalid surface supplied for xdg decorations");
index b2c7f63b0cef3bcbbc79b112fb05330a8406a991..1e80f2100f57836c68ba4e366c48b47902506c7f 100644 (file)
@@ -1,6 +1,6 @@
 [wrap-git]
 url = https://gitlab.freedesktop.org/wlroots/wlroots.git
-revision = 657ca2205ff4d5f70cf294d9b5720acf2eaf76b4
+revision = bdc34401ba8e4a59b3464c17fa5acf43ca417e57
 
 [provide]
 dependency_names = wlroots