Home
last modified time | relevance | path

Searched refs:wsurface (Results 1 – 5 of 5) sorted by relevance

/third_party/weston/libweston-desktop/
Dxwayland.c75 struct weston_surface *wsurface; in weston_desktop_xwayland_surface_change_state() local
86 wsurface = weston_desktop_surface_get_surface(surface->surface); in weston_desktop_xwayland_surface_change_state()
95 weston_surface_unmap(wsurface); in weston_desktop_xwayland_surface_change_state()
125 wsurface->is_mapped = true; in weston_desktop_xwayland_surface_change_state()
172 struct weston_surface *wsurface = in weston_desktop_xwayland_surface_set_size() local
175 surface->client_interface->send_configure(wsurface, width, height); in weston_desktop_xwayland_surface_set_size()
236 struct weston_surface *wsurface, in create_surface() argument
251 xwayland->client, wsurface, in create_surface()
261 wl_resource_add_destroy_listener(wsurface->resource, in create_surface()
Dwl-shell.c68 struct weston_surface *wsurface = in weston_desktop_wl_shell_surface_set_size() local
71 if ((wsurface->width == width && wsurface->height == height) || in weston_desktop_wl_shell_surface_set_size()
98 struct weston_surface *wsurface = in weston_desktop_wl_shell_surface_committed() local
101 if (wsurface->buffer_ref.buffer == NULL) in weston_desktop_wl_shell_surface_committed()
436 struct weston_surface *wsurface = wl_resource_get_user_data(surface_resource); in weston_desktop_wl_shell_protocol_get_shell_surface() local
440 if (weston_surface_set_role(wsurface, "wl_shell_surface", resource, WL_SHELL_ERROR_ROLE) < 0) in weston_desktop_wl_shell_protocol_get_shell_surface()
453 weston_desktop_surface_create(surface->desktop, client, wsurface, in weston_desktop_wl_shell_protocol_get_shell_surface()
463 wl_resource_add_destroy_listener(wsurface->resource, in weston_desktop_wl_shell_protocol_get_shell_surface()
Dsurface.c222 weston_desktop_surface_committed(struct weston_surface *wsurface, in weston_desktop_surface_committed() argument
225 struct weston_desktop_surface *surface = wsurface->committed_private; in weston_desktop_surface_committed()
244 struct weston_surface *wsurface, in weston_desktop_surface_create() argument
262 surface->surface = wsurface; in weston_desktop_surface_create()
270 wsurface->committed = weston_desktop_surface_committed; in weston_desktop_surface_create()
271 wsurface->committed_private = surface; in weston_desktop_surface_create()
335 weston_surface_is_desktop_surface(struct weston_surface *wsurface) in weston_surface_is_desktop_surface() argument
337 return wsurface->committed == weston_desktop_surface_committed; in weston_surface_is_desktop_surface()
341 weston_surface_get_desktop_surface(struct weston_surface *wsurface) in weston_surface_get_desktop_surface() argument
343 if (!weston_surface_is_desktop_surface(wsurface)) in weston_surface_get_desktop_surface()
[all …]
Dxdg-shell-v6.c645 struct weston_surface *wsurface = in weston_desktop_xdg_toplevel_committed() local
648 if (!wsurface->buffer_ref.buffer && !toplevel->added) { in weston_desktop_xdg_toplevel_committed()
652 if (!wsurface->buffer_ref.buffer) in weston_desktop_xdg_toplevel_committed()
832 struct weston_surface *wsurface = in weston_desktop_xdg_popup_committed() local
836 wl_list_for_each(view, &wsurface->views, surface_link) in weston_desktop_xdg_popup_committed()
1021 struct weston_surface *wsurface = in weston_desktop_xdg_surface_protocol_get_toplevel() local
1026 if (weston_surface_set_role(wsurface, weston_desktop_xdg_toplevel_role, in weston_desktop_xdg_surface_protocol_get_toplevel()
1050 struct weston_surface *wsurface = in weston_desktop_xdg_surface_protocol_get_popup() local
1070 if (weston_surface_set_role(wsurface, weston_desktop_xdg_popup_role, in weston_desktop_xdg_surface_protocol_get_popup()
1100 struct weston_surface *wsurface = in weston_desktop_xdg_surface_check_role() local
[all …]
Dxdg-shell.c663 struct weston_surface *wsurface = in weston_desktop_xdg_toplevel_committed() local
666 if (!wsurface->buffer_ref.buffer && !toplevel->added) { in weston_desktop_xdg_toplevel_committed()
670 if (!wsurface->buffer_ref.buffer) in weston_desktop_xdg_toplevel_committed()
872 struct weston_surface *wsurface = in weston_desktop_xdg_popup_committed() local
876 wl_list_for_each(view, &wsurface->views, surface_link) in weston_desktop_xdg_popup_committed()
1061 struct weston_surface *wsurface = in weston_desktop_xdg_surface_protocol_get_toplevel() local
1066 if (weston_surface_set_role(wsurface, weston_desktop_xdg_toplevel_role, in weston_desktop_xdg_surface_protocol_get_toplevel()
1090 struct weston_surface *wsurface = in weston_desktop_xdg_surface_protocol_get_popup() local
1123 if (weston_surface_set_role(wsurface, weston_desktop_xdg_popup_role, in weston_desktop_xdg_surface_protocol_get_popup()
1153 struct weston_surface *wsurface = in weston_desktop_xdg_surface_check_role() local
[all …]