aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2022-01-08 22:52:53 +0300
committerKirill Primak <vyivel@eclair.cafe>2022-02-02 21:06:12 +0300
commit27c8865a4d92c785a8298022a21cf989206e4436 (patch)
treee01b3a781195418474c8d79ef72ffc8ede9c5aaf /include
parent70d4a30be36aa576828c61cda4008247ebc911c1 (diff)
xdg-shell: unify function arguments' names
`wlr_xdg_surface`s are now named "surface" everywhere, and `wlr_surface`s are called "wlr_surface".
Diffstat (limited to 'include')
-rw-r--r--include/types/wlr_xdg_shell.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/types/wlr_xdg_shell.h b/include/types/wlr_xdg_shell.h
index f4e1ebe3..7613a15d 100644
--- a/include/types/wlr_xdg_shell.h
+++ b/include/types/wlr_xdg_shell.h
@@ -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(