mirror of
https://github.com/labwc/labwc.git
synced 2026-04-07 08:21:20 -04:00
xdg: remove unnecessary cast
This commit is contained in:
parent
366cf3c995
commit
795a17ad53
1 changed files with 1 additions and 2 deletions
|
|
@ -590,8 +590,7 @@ static struct view *
|
||||||
xdg_toplevel_view_get_root(struct view *view)
|
xdg_toplevel_view_get_root(struct view *view)
|
||||||
{
|
{
|
||||||
struct wlr_xdg_toplevel *root = top_parent_of(view);
|
struct wlr_xdg_toplevel *root = top_parent_of(view);
|
||||||
struct wlr_xdg_surface *surface = (struct wlr_xdg_surface *)root->base;
|
return (struct view *)root->base->data;
|
||||||
return (struct view *)surface->data;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue