From 16260926398325c5406fcf84541258ee904f5a0c Mon Sep 17 00:00:00 2001 From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Mon, 21 Aug 2023 17:59:22 +0200 Subject: [PATCH] Chase wlroots: xdg-decoration now references a toplevel Chases: bdc34401ba8e4a59b3464c17fa5acf43ca417e57 xdg-decoration: store an xdg_toplevel instead of xdg_surface --- src/decorations/xdg-deco.c | 2 +- subprojects/wlroots.wrap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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