• Home
  • Raw
  • Download

Lines Matching full:shell

33 #include "shell.h"
41 struct desktop_shell *shell; member
65 struct desktop_shell *shell = ipsurf->shell; in show_input_panel_surface() local
70 wl_list_for_each(seat, &shell->compositor->seat_list, link) { in show_input_panel_surface()
85 weston_layer_entry_insert(&shell->input_panel_layer.view_list, in show_input_panel_surface()
105 struct desktop_shell *shell = in show_input_panels() local
110 shell->text_input.surface = (struct weston_surface*)data; in show_input_panels()
112 if (shell->showing_input_panels) in show_input_panels()
115 shell->showing_input_panels = true; in show_input_panels()
117 if (!shell->locked) in show_input_panels()
118 weston_layer_set_position(&shell->input_panel_layer, in show_input_panels()
122 &shell->input_panel.surfaces, link) { in show_input_panels()
133 struct desktop_shell *shell = in hide_input_panels() local
138 if (!shell->showing_input_panels) in hide_input_panels()
141 shell->showing_input_panels = false; in hide_input_panels()
143 if (!shell->locked) in hide_input_panels()
144 weston_layer_unset_position(&shell->input_panel_layer); in hide_input_panels()
147 &shell->input_panel_layer.view_list.link, in hide_input_panels()
155 struct desktop_shell *shell = in update_input_panels() local
159 memcpy(&shell->text_input.cursor_rectangle, data, sizeof(pixman_box32_t)); in update_input_panels()
172 struct desktop_shell *shell = ip_surface->shell; in input_panel_committed() local
180 view = get_default_view(shell->text_input.surface); in input_panel_committed()
183 x = view->geometry.x + shell->text_input.cursor_rectangle.x2; in input_panel_committed()
184 y = view->geometry.y + shell->text_input.cursor_rectangle.y2; in input_panel_committed()
192 if (!weston_surface_is_mapped(surface) && shell->showing_input_panels) in input_panel_committed()
236 create_input_panel_surface(struct desktop_shell *shell, in create_input_panel_surface() argument
249 input_panel_surface->shell = shell; in create_input_panel_surface()
272 struct desktop_shell *shell = input_panel_surface->shell; in input_panel_surface_set_toplevel() local
275 wl_list_insert(&shell->input_panel.surfaces, in input_panel_surface_set_toplevel()
289 struct desktop_shell *shell = input_panel_surface->shell; in input_panel_surface_set_overlay_panel() local
291 wl_list_insert(&shell->input_panel.surfaces, in input_panel_surface_set_overlay_panel()
319 struct desktop_shell *shell = wl_resource_get_user_data(resource); in input_panel_get_input_panel_surface() local
329 ipsurf = create_input_panel_surface(shell, surface); in input_panel_get_input_panel_surface()
355 struct desktop_shell *shell = wl_resource_get_user_data(resource); in unbind_input_panel() local
357 shell->input_panel.binding = NULL; in unbind_input_panel()
364 struct desktop_shell *shell = data; in bind_input_panel() local
370 if (shell->input_panel.binding == NULL) { in bind_input_panel()
373 shell, unbind_input_panel); in bind_input_panel()
374 shell->input_panel.binding = resource; in bind_input_panel()
383 input_panel_destroy(struct desktop_shell *shell) in input_panel_destroy() argument
385 wl_list_remove(&shell->show_input_panel_listener.link); in input_panel_destroy()
386 wl_list_remove(&shell->hide_input_panel_listener.link); in input_panel_destroy()
390 input_panel_setup(struct desktop_shell *shell) in input_panel_setup() argument
392 struct weston_compositor *ec = shell->compositor; in input_panel_setup()
394 shell->show_input_panel_listener.notify = show_input_panels; in input_panel_setup()
396 &shell->show_input_panel_listener); in input_panel_setup()
397 shell->hide_input_panel_listener.notify = hide_input_panels; in input_panel_setup()
399 &shell->hide_input_panel_listener); in input_panel_setup()
400 shell->update_input_panel_listener.notify = update_input_panels; in input_panel_setup()
402 &shell->update_input_panel_listener); in input_panel_setup()
404 wl_list_init(&shell->input_panel.surfaces); in input_panel_setup()
406 if (wl_global_create(shell->compositor->wl_display, in input_panel_setup()
408 shell, bind_input_panel) == NULL) in input_panel_setup()