diff --git a/src/decorations/xdg-deco.c b/src/decorations/xdg-deco.c index 38181eb3..3fa10940 100644 --- a/src/decorations/xdg-deco.c +++ b/src/decorations/xdg-deco.c @@ -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"); diff --git a/subprojects/wlroots.wrap b/subprojects/wlroots.wrap index b2c7f63b..1e80f210 100644 --- a/subprojects/wlroots.wrap +++ b/subprojects/wlroots.wrap @@ -1,6 +1,6 @@ [wrap-git] url = https://gitlab.freedesktop.org/wlroots/wlroots.git -revision = 657ca2205ff4d5f70cf294d9b5720acf2eaf76b4 +revision = bdc34401ba8e4a59b3464c17fa5acf43ca417e57 [provide] dependency_names = wlroots