mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-21 06:59:44 -05:00
xdg-shell: unify function arguments' names
`wlr_xdg_surface`s are now named "surface" everywhere, and `wlr_surface`s are called "wlr_surface".
This commit is contained in:
parent
70d4a30be3
commit
27c8865a4d
4 changed files with 109 additions and 109 deletions
|
|
@ -14,10 +14,10 @@ extern const struct wlr_surface_role xdg_toplevel_surface_role;
|
|||
extern const struct wlr_surface_role xdg_popup_surface_role;
|
||||
|
||||
struct wlr_xdg_surface *create_xdg_surface(
|
||||
struct wlr_xdg_client *client, struct wlr_surface *surface,
|
||||
struct wlr_xdg_client *client, struct wlr_surface *wlr_surface,
|
||||
uint32_t id);
|
||||
void unmap_xdg_surface(struct wlr_xdg_surface *surface);
|
||||
void reset_xdg_surface(struct wlr_xdg_surface *xdg_surface);
|
||||
void reset_xdg_surface(struct wlr_xdg_surface *surface);
|
||||
void destroy_xdg_surface(struct wlr_xdg_surface *surface);
|
||||
void xdg_surface_role_commit(struct wlr_surface *wlr_surface);
|
||||
void xdg_surface_role_precommit(struct wlr_surface *wlr_surface,
|
||||
|
|
@ -27,14 +27,14 @@ void create_xdg_positioner(struct wlr_xdg_client *client, uint32_t id);
|
|||
struct wlr_xdg_positioner_resource *get_xdg_positioner_from_resource(
|
||||
struct wl_resource *resource);
|
||||
|
||||
void create_xdg_popup(struct wlr_xdg_surface *xdg_surface,
|
||||
void create_xdg_popup(struct wlr_xdg_surface *surface,
|
||||
struct wlr_xdg_surface *parent,
|
||||
struct wlr_xdg_positioner_resource *positioner, uint32_t id);
|
||||
void handle_xdg_popup_committed(struct wlr_xdg_popup *popup);
|
||||
struct wlr_xdg_popup_grab *get_xdg_shell_popup_grab_from_seat(
|
||||
struct wlr_xdg_shell *shell, struct wlr_seat *seat);
|
||||
|
||||
void create_xdg_toplevel(struct wlr_xdg_surface *xdg_surface,
|
||||
void create_xdg_toplevel(struct wlr_xdg_surface *surface,
|
||||
uint32_t id);
|
||||
void handle_xdg_toplevel_committed(struct wlr_xdg_toplevel *toplevel);
|
||||
struct wlr_xdg_toplevel_configure *send_xdg_toplevel_configure(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue