Lines Matching refs:input_panel_surface
37 struct input_panel_surface { struct
57 struct input_panel_surface *ipsurf = data; in input_panel_slide_done() argument
63 show_input_panel_surface(struct input_panel_surface *ipsurf) in show_input_panel_surface()
108 struct input_panel_surface *ipsurf, *next; in show_input_panels()
171 struct input_panel_surface *ip_surface = surface->committed_private; in input_panel_committed()
197 destroy_input_panel_surface(struct input_panel_surface *input_panel_surface) in destroy_input_panel_surface() argument
199 wl_signal_emit(&input_panel_surface->destroy_signal, input_panel_surface); in destroy_input_panel_surface()
201 wl_list_remove(&input_panel_surface->surface_destroy_listener.link); in destroy_input_panel_surface()
202 wl_list_remove(&input_panel_surface->link); in destroy_input_panel_surface()
204 input_panel_surface->surface->committed = NULL; in destroy_input_panel_surface()
205 weston_surface_set_label_func(input_panel_surface->surface, NULL); in destroy_input_panel_surface()
206 weston_view_destroy(input_panel_surface->view); in destroy_input_panel_surface()
208 free(input_panel_surface); in destroy_input_panel_surface()
211 static struct input_panel_surface *
224 struct input_panel_surface *ipsurface = container_of(listener, in input_panel_handle_surface_destroy()
225 struct input_panel_surface, in input_panel_handle_surface_destroy()
235 static struct input_panel_surface *
239 struct input_panel_surface *input_panel_surface; in create_input_panel_surface() local
241 input_panel_surface = calloc(1, sizeof *input_panel_surface); in create_input_panel_surface()
242 if (!input_panel_surface) in create_input_panel_surface()
246 surface->committed_private = input_panel_surface; in create_input_panel_surface()
249 input_panel_surface->shell = shell; in create_input_panel_surface()
251 input_panel_surface->surface = surface; in create_input_panel_surface()
252 input_panel_surface->view = weston_view_create(surface); in create_input_panel_surface()
254 wl_signal_init(&input_panel_surface->destroy_signal); in create_input_panel_surface()
255 input_panel_surface->surface_destroy_listener.notify = input_panel_handle_surface_destroy; in create_input_panel_surface()
257 &input_panel_surface->surface_destroy_listener); in create_input_panel_surface()
259 wl_list_init(&input_panel_surface->link); in create_input_panel_surface()
261 return input_panel_surface; in create_input_panel_surface()
270 struct input_panel_surface *input_panel_surface = in input_panel_surface_set_toplevel() local
272 struct desktop_shell *shell = input_panel_surface->shell; in input_panel_surface_set_toplevel()
276 &input_panel_surface->link); in input_panel_surface_set_toplevel()
279 input_panel_surface->output = head->output; in input_panel_surface_set_toplevel()
280 input_panel_surface->panel = 0; in input_panel_surface_set_toplevel()
287 struct input_panel_surface *input_panel_surface = in input_panel_surface_set_overlay_panel() local
289 struct desktop_shell *shell = input_panel_surface->shell; in input_panel_surface_set_overlay_panel()
292 &input_panel_surface->link); in input_panel_surface_set_overlay_panel()
294 input_panel_surface->panel = 1; in input_panel_surface_set_overlay_panel()
305 struct input_panel_surface *ipsurf = in destroy_input_panel_surface_resource()
320 struct input_panel_surface *ipsurf; in input_panel_get_input_panel_surface()