mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
Chase wlroots: xdg-decoration now references a toplevel
Chases: bdc34401ba8e4a59b3464c17fa5acf43ca417e57 xdg-decoration: store an xdg_toplevel instead of xdg_surface
This commit is contained in:
parent
5292504d4a
commit
1626092639
2 changed files with 2 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue