summaryrefslogtreecommitdiff
path: root/desktop-shell/input-panel.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-shell/input-panel.c')
-rw-r--r--desktop-shell/input-panel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-shell/input-panel.c b/desktop-shell/input-panel.c
index 40a4092e..e6b1541a 100644
--- a/desktop-shell/input-panel.c
+++ b/desktop-shell/input-panel.c
@@ -274,7 +274,7 @@ input_panel_surface_set_toplevel(struct wl_client *client,
wl_list_insert(&shell->input_panel.surfaces,
&input_panel_surface->link);
- input_panel_surface->output = wl_resource_get_user_data(output_resource);
+ input_panel_surface->output = weston_output_from_resource(output_resource);
input_panel_surface->panel = 0;
}