aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2023-07-26 10:57:02 +0300
committerSimon Ser <contact@emersion.fr>2023-08-21 16:30:29 +0000
commitf0cc712af14d9eae7cd8c56e74ae3b2547ff8ea2 (patch)
treedb37162f225a4638d905fb1e38e6233d1f54fca6 /include
parentce615a44c06ed10ab51b9c5a630acb43ef014efb (diff)
xdg-shell: don't return anything from create_xdg_surface()
Diffstat (limited to 'include')
-rw-r--r--include/types/wlr_xdg_shell.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/types/wlr_xdg_shell.h b/include/types/wlr_xdg_shell.h
index 0386388b..96cc117f 100644
--- a/include/types/wlr_xdg_shell.h
+++ b/include/types/wlr_xdg_shell.h
@@ -8,8 +8,7 @@
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 *wlr_surface,
+void create_xdg_surface(struct wlr_xdg_client *client, struct wlr_surface *wlr_surface,
uint32_t id);
void destroy_xdg_surface(struct wlr_xdg_surface *surface);
void destroy_xdg_surface_role_object(struct wlr_xdg_surface *surface);