mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-23 08:56:29 -05:00
backend/wayland: remove unnecessary cast
This commit is contained in:
parent
211c1e23be
commit
7b50f5d324
1 changed files with 1 additions and 1 deletions
|
|
@ -559,7 +559,7 @@ static void xdg_toplevel_handle_close(void *data,
|
||||||
struct wlr_wl_output *output = data;
|
struct wlr_wl_output *output = data;
|
||||||
assert(output && output->xdg_toplevel == xdg_toplevel);
|
assert(output && output->xdg_toplevel == xdg_toplevel);
|
||||||
|
|
||||||
wlr_output_destroy((struct wlr_output *)output);
|
wlr_output_destroy(&output->wlr_output);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct xdg_toplevel_listener xdg_toplevel_listener = {
|
static struct xdg_toplevel_listener xdg_toplevel_listener = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue