mirror of
https://github.com/labwc/labwc.git
synced 2025-11-30 06:59:52 -05:00
xdg: remove unnecessary cast
This commit is contained in:
parent
d15152b27b
commit
51c2003ed8
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