Android-cuttlefish cvd tool
Functions | Variables
wayland::anonymous_namespace{wayland_shell.cpp} Namespace Reference

Functions

void xdg_positioner_destroy (wl_client *, wl_resource *positioner)
 
void xdg_positioner_set_size (wl_client *, wl_resource *positioner, int32_t w, int32_t h)
 
void xdg_positioner_set_anchor_rect (wl_client *, wl_resource *positioner, int32_t x, int32_t y, int32_t w, int32_t h)
 
void xdg_positioner_set_anchor (wl_client *, wl_resource *positioner, uint32_t anchor)
 
void xdg_positioner_set_gravity (wl_client *, wl_resource *positioner, uint32_t gravity)
 
void xdg_positioner_set_constraint_adjustment (wl_client *, wl_resource *positioner, uint32_t adjustment)
 
void xdg_positioner_set_offset (wl_client *, wl_resource *positioner, int32_t x, int32_t y)
 
void xdg_toplevel_destroy (wl_client *, wl_resource *toplevel)
 
void xdg_toplevel_set_parent (wl_client *, wl_resource *toplevel, wl_resource *parent_toplevel)
 
void xdg_toplevel_set_title (wl_client *, wl_resource *toplevel, const char *title)
 
void xdg_toplevel_set_app_id (wl_client *, wl_resource *toplevel, const char *app)
 
void xdg_toplevel_show_window_menu (wl_client *, wl_resource *toplevel, wl_resource *seat, uint32_t serial, int32_t x, int32_t y)
 
void xdg_toplevel_move (wl_client *, wl_resource *toplevel, wl_resource *seat, uint32_t serial)
 
void xdg_toplevel_resize (wl_client *, wl_resource *toplevel, wl_resource *seat, uint32_t serial, uint32_t edges)
 
void xdg_toplevel_set_max_size (wl_client *, wl_resource *toplevel, int32_t w, int32_t h)
 
void xdg_toplevel_set_min_size (wl_client *, wl_resource *toplevel, int32_t w, int32_t h)
 
void xdg_toplevel_set_maximized (wl_client *, wl_resource *toplevel)
 
void xdg_toplevel_unset_maximized (wl_client *, wl_resource *toplevel)
 
void xdg_toplevel_set_fullscreen (wl_client *, wl_resource *toplevel, wl_resource *)
 
void xdg_toplevel_unset_fullscreen (wl_client *, wl_resource *toplevel)
 
void xdg_toplevel_set_minimized (wl_client *, wl_resource *toplevel)
 
void xdg_popup_destroy (wl_client *, wl_resource *popup)
 
void xdg_popup_grab (wl_client *, wl_resource *popup, wl_resource *seat, uint32_t serial)
 
void xdg_surface_destroy (wl_client *, wl_resource *surface)
 
void toplevel_destroy_resource_callback (struct wl_resource *)
 
void xdg_surface_get_toplevel (wl_client *client, wl_resource *surface, uint32_t id)
 
void popup_destroy_resource_callback (struct wl_resource *)
 
void xdg_surface_get_popup (wl_client *client, wl_resource *surface, uint32_t id, wl_resource *parent_surface, wl_resource *positioner)
 
void xdg_surface_set_window_geometry (wl_client *, wl_resource *surface, int32_t x, int32_t y, int32_t w, int32_t h)
 
void xdg_surface_ack_configure (wl_client *, wl_resource *surface, uint32_t serial)
 
void xdg_shell_destroy (wl_client *, wl_resource *shell)
 
void positioner_destroy_resource_callback (struct wl_resource *)
 
void xdg_shell_create_positioner (wl_client *client, wl_resource *shell, uint32_t id)
 
void surface_destroy_resource_callback (struct wl_resource *)
 
void xdg_shell_get_xdg_surface (wl_client *client, wl_resource *shell, uint32_t id, wl_resource *surface)
 
void xdg_shell_pong (wl_client *, wl_resource *shell, uint32_t serial)
 
void bind_shell (wl_client *client, void *data, uint32_t version, uint32_t id)
 

Variables

const struct xdg_positioner_interface xdg_positioner_implementation
 
const struct xdg_toplevel_interface xdg_toplevel_implementation
 
const struct xdg_popup_interface xdg_popup_implementation
 
const struct xdg_surface_interface xdg_surface_implementation
 
const struct xdg_wm_base_interface xdg_shell_implementation
 

Function Documentation

◆ bind_shell()

void wayland::anonymous_namespace{wayland_shell.cpp}::bind_shell ( wl_client *  client,
void *  data,
uint32_t  version,
uint32_t  id 
)

◆ popup_destroy_resource_callback()

void wayland::anonymous_namespace{wayland_shell.cpp}::popup_destroy_resource_callback ( struct wl_resource *  )

◆ positioner_destroy_resource_callback()

void wayland::anonymous_namespace{wayland_shell.cpp}::positioner_destroy_resource_callback ( struct wl_resource *  )

◆ surface_destroy_resource_callback()

void wayland::anonymous_namespace{wayland_shell.cpp}::surface_destroy_resource_callback ( struct wl_resource *  )

◆ toplevel_destroy_resource_callback()

void wayland::anonymous_namespace{wayland_shell.cpp}::toplevel_destroy_resource_callback ( struct wl_resource *  )

◆ xdg_popup_destroy()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_popup_destroy ( wl_client *  ,
wl_resource *  popup 
)

◆ xdg_popup_grab()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_popup_grab ( wl_client *  ,
wl_resource *  popup,
wl_resource *  seat,
uint32_t  serial 
)

◆ xdg_positioner_destroy()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_positioner_destroy ( wl_client *  ,
wl_resource *  positioner 
)

◆ xdg_positioner_set_anchor()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_positioner_set_anchor ( wl_client *  ,
wl_resource *  positioner,
uint32_t  anchor 
)

◆ xdg_positioner_set_anchor_rect()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_positioner_set_anchor_rect ( wl_client *  ,
wl_resource *  positioner,
int32_t  x,
int32_t  y,
int32_t  w,
int32_t  h 
)

◆ xdg_positioner_set_constraint_adjustment()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_positioner_set_constraint_adjustment ( wl_client *  ,
wl_resource *  positioner,
uint32_t  adjustment 
)

◆ xdg_positioner_set_gravity()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_positioner_set_gravity ( wl_client *  ,
wl_resource *  positioner,
uint32_t  gravity 
)

◆ xdg_positioner_set_offset()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_positioner_set_offset ( wl_client *  ,
wl_resource *  positioner,
int32_t  x,
int32_t  y 
)

◆ xdg_positioner_set_size()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_positioner_set_size ( wl_client *  ,
wl_resource *  positioner,
int32_t  w,
int32_t  h 
)

◆ xdg_shell_create_positioner()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_shell_create_positioner ( wl_client *  client,
wl_resource *  shell,
uint32_t  id 
)

◆ xdg_shell_destroy()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_shell_destroy ( wl_client *  ,
wl_resource *  shell 
)

◆ xdg_shell_get_xdg_surface()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_shell_get_xdg_surface ( wl_client *  client,
wl_resource *  shell,
uint32_t  id,
wl_resource *  surface 
)

◆ xdg_shell_pong()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_shell_pong ( wl_client *  ,
wl_resource *  shell,
uint32_t  serial 
)

◆ xdg_surface_ack_configure()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_surface_ack_configure ( wl_client *  ,
wl_resource *  surface,
uint32_t  serial 
)

◆ xdg_surface_destroy()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_surface_destroy ( wl_client *  ,
wl_resource *  surface 
)

◆ xdg_surface_get_popup()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_surface_get_popup ( wl_client *  client,
wl_resource *  surface,
uint32_t  id,
wl_resource *  parent_surface,
wl_resource *  positioner 
)

◆ xdg_surface_get_toplevel()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_surface_get_toplevel ( wl_client *  client,
wl_resource *  surface,
uint32_t  id 
)

◆ xdg_surface_set_window_geometry()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_surface_set_window_geometry ( wl_client *  ,
wl_resource *  surface,
int32_t  x,
int32_t  y,
int32_t  w,
int32_t  h 
)

◆ xdg_toplevel_destroy()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_toplevel_destroy ( wl_client *  ,
wl_resource *  toplevel 
)

◆ xdg_toplevel_move()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_toplevel_move ( wl_client *  ,
wl_resource *  toplevel,
wl_resource *  seat,
uint32_t  serial 
)

◆ xdg_toplevel_resize()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_toplevel_resize ( wl_client *  ,
wl_resource *  toplevel,
wl_resource *  seat,
uint32_t  serial,
uint32_t  edges 
)

◆ xdg_toplevel_set_app_id()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_toplevel_set_app_id ( wl_client *  ,
wl_resource *  toplevel,
const char *  app 
)

◆ xdg_toplevel_set_fullscreen()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_toplevel_set_fullscreen ( wl_client *  ,
wl_resource *  toplevel,
wl_resource *   
)

◆ xdg_toplevel_set_max_size()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_toplevel_set_max_size ( wl_client *  ,
wl_resource *  toplevel,
int32_t  w,
int32_t  h 
)

◆ xdg_toplevel_set_maximized()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_toplevel_set_maximized ( wl_client *  ,
wl_resource *  toplevel 
)

◆ xdg_toplevel_set_min_size()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_toplevel_set_min_size ( wl_client *  ,
wl_resource *  toplevel,
int32_t  w,
int32_t  h 
)

◆ xdg_toplevel_set_minimized()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_toplevel_set_minimized ( wl_client *  ,
wl_resource *  toplevel 
)

◆ xdg_toplevel_set_parent()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_toplevel_set_parent ( wl_client *  ,
wl_resource *  toplevel,
wl_resource *  parent_toplevel 
)

◆ xdg_toplevel_set_title()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_toplevel_set_title ( wl_client *  ,
wl_resource *  toplevel,
const char *  title 
)

◆ xdg_toplevel_show_window_menu()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_toplevel_show_window_menu ( wl_client *  ,
wl_resource *  toplevel,
wl_resource *  seat,
uint32_t  serial,
int32_t  x,
int32_t  y 
)

◆ xdg_toplevel_unset_fullscreen()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_toplevel_unset_fullscreen ( wl_client *  ,
wl_resource *  toplevel 
)

◆ xdg_toplevel_unset_maximized()

void wayland::anonymous_namespace{wayland_shell.cpp}::xdg_toplevel_unset_maximized ( wl_client *  ,
wl_resource *  toplevel 
)

Variable Documentation

◆ xdg_popup_implementation

const struct xdg_popup_interface wayland::anonymous_namespace{wayland_shell.cpp}::xdg_popup_implementation
Initial value:
= {
.destroy = xdg_popup_destroy, .grab = xdg_popup_grab}
void xdg_popup_grab(wl_client *, wl_resource *popup, wl_resource *seat, uint32_t serial)
Definition: wayland_shell.cpp:214
void xdg_popup_destroy(wl_client *, wl_resource *popup)
Definition: wayland_shell.cpp:207

◆ xdg_positioner_implementation

const struct xdg_positioner_interface wayland::anonymous_namespace{wayland_shell.cpp}::xdg_positioner_implementation
Initial value:
= {
.set_anchor_rect = xdg_positioner_set_anchor_rect,
.set_constraint_adjustment = xdg_positioner_set_constraint_adjustment,
void xdg_positioner_destroy(wl_client *, wl_resource *positioner)
Definition: wayland_shell.cpp:28
void xdg_positioner_set_offset(wl_client *, wl_resource *positioner, int32_t x, int32_t y)
Definition: wayland_shell.cpp:76
void xdg_positioner_set_size(wl_client *, wl_resource *positioner, int32_t w, int32_t h)
Definition: wayland_shell.cpp:35
void xdg_positioner_set_anchor(wl_client *, wl_resource *positioner, uint32_t anchor)
Definition: wayland_shell.cpp:54
void xdg_positioner_set_constraint_adjustment(wl_client *, wl_resource *positioner, uint32_t adjustment)
Definition: wayland_shell.cpp:68
void xdg_positioner_set_gravity(wl_client *, wl_resource *positioner, uint32_t gravity)
Definition: wayland_shell.cpp:61
void xdg_positioner_set_anchor_rect(wl_client *, wl_resource *positioner, int32_t x, int32_t y, int32_t w, int32_t h)
Definition: wayland_shell.cpp:43

◆ xdg_shell_implementation

const struct xdg_wm_base_interface wayland::anonymous_namespace{wayland_shell.cpp}::xdg_shell_implementation
Initial value:
= {
.destroy = xdg_shell_destroy,
.create_positioner = xdg_shell_create_positioner,
.get_xdg_surface = xdg_shell_get_xdg_surface,
.pong = xdg_shell_pong}
void xdg_shell_create_positioner(wl_client *client, wl_resource *shell, uint32_t id)
Definition: wayland_shell.cpp:300
void xdg_shell_pong(wl_client *, wl_resource *shell, uint32_t serial)
Definition: wayland_shell.cpp:330
void xdg_shell_get_xdg_surface(wl_client *client, wl_resource *shell, uint32_t id, wl_resource *surface)
Definition: wayland_shell.cpp:316
void xdg_shell_destroy(wl_client *, wl_resource *shell)
Definition: wayland_shell.cpp:291

◆ xdg_surface_implementation

const struct xdg_surface_interface wayland::anonymous_namespace{wayland_shell.cpp}::xdg_surface_implementation
Initial value:
= {
.destroy = xdg_surface_destroy,
.get_toplevel = xdg_surface_get_toplevel,
.get_popup = xdg_surface_get_popup,
.set_window_geometry = xdg_surface_set_window_geometry,
.ack_configure = xdg_surface_ack_configure}
void xdg_surface_set_window_geometry(wl_client *, wl_resource *surface, int32_t x, int32_t y, int32_t w, int32_t h)
Definition: wayland_shell.cpp:266
void xdg_surface_ack_configure(wl_client *, wl_resource *surface, uint32_t serial)
Definition: wayland_shell.cpp:277
void xdg_surface_destroy(wl_client *, wl_resource *surface)
Definition: wayland_shell.cpp:225
void xdg_surface_get_popup(wl_client *client, wl_resource *surface, uint32_t id, wl_resource *parent_surface, wl_resource *positioner)
Definition: wayland_shell.cpp:250
void xdg_surface_get_toplevel(wl_client *client, wl_resource *surface, uint32_t id)
Definition: wayland_shell.cpp:234

◆ xdg_toplevel_implementation

const struct xdg_toplevel_interface wayland::anonymous_namespace{wayland_shell.cpp}::xdg_toplevel_implementation
Initial value:
= {
.set_parent = xdg_toplevel_set_parent,
.set_title = xdg_toplevel_set_title,
.set_app_id = xdg_toplevel_set_app_id,
.show_window_menu = xdg_toplevel_show_window_menu,
.set_max_size = xdg_toplevel_set_max_size,
.set_min_size = xdg_toplevel_set_min_size,
.set_maximized = xdg_toplevel_set_maximized,
.unset_maximized = xdg_toplevel_unset_maximized,
.set_fullscreen = xdg_toplevel_set_fullscreen,
.unset_fullscreen = xdg_toplevel_unset_fullscreen,
.set_minimized = xdg_toplevel_set_minimized}
void xdg_toplevel_set_minimized(wl_client *, wl_resource *toplevel)
Definition: wayland_shell.cpp:186
void xdg_toplevel_resize(wl_client *, wl_resource *toplevel, wl_resource *seat, uint32_t serial, uint32_t edges)
Definition: wayland_shell.cpp:140
void xdg_toplevel_set_parent(wl_client *, wl_resource *toplevel, wl_resource *parent_toplevel)
Definition: wayland_shell.cpp:100
void xdg_toplevel_unset_fullscreen(wl_client *, wl_resource *toplevel)
Definition: wayland_shell.cpp:181
void xdg_toplevel_set_title(wl_client *, wl_resource *toplevel, const char *title)
Definition: wayland_shell.cpp:107
void xdg_toplevel_set_maximized(wl_client *, wl_resource *toplevel)
Definition: wayland_shell.cpp:165
void xdg_toplevel_set_fullscreen(wl_client *, wl_resource *toplevel, wl_resource *)
Definition: wayland_shell.cpp:175
void xdg_toplevel_move(wl_client *, wl_resource *toplevel, wl_resource *seat, uint32_t serial)
Definition: wayland_shell.cpp:132
void xdg_toplevel_set_max_size(wl_client *, wl_resource *toplevel, int32_t w, int32_t h)
Definition: wayland_shell.cpp:149
void xdg_toplevel_set_min_size(wl_client *, wl_resource *toplevel, int32_t w, int32_t h)
Definition: wayland_shell.cpp:157
void xdg_toplevel_unset_maximized(wl_client *, wl_resource *toplevel)
Definition: wayland_shell.cpp:170
void xdg_toplevel_set_app_id(wl_client *, wl_resource *toplevel, const char *app)
Definition: wayland_shell.cpp:114
void xdg_toplevel_destroy(wl_client *, wl_resource *toplevel)
Definition: wayland_shell.cpp:93
void xdg_toplevel_show_window_menu(wl_client *, wl_resource *toplevel, wl_resource *seat, uint32_t serial, int32_t x, int32_t y)
Definition: wayland_shell.cpp:121