aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-01-18 12:31:20 +0100
committerSimon Ser <contact@emersion.fr>2021-02-02 23:42:53 +0100
commit45f992b27b7a8f74dd5b05e9961dead25bb7a248 (patch)
treea352f2b5e72b7a4f81164d8a6cb987be6603a1fb /include/wlr
parent3d7aa7386706f6aa8041f27a3fba22d5b4290e82 (diff)
region: make wlr_region_create private
This function should only be called from the handler for wl_compositor.create_region requests.
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_region.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/wlr/types/wlr_region.h b/include/wlr/types/wlr_region.h
index ec7f73aa..532f86df 100644
--- a/include/wlr/types/wlr_region.h
+++ b/include/wlr/types/wlr_region.h
@@ -12,13 +12,6 @@
#include <pixman.h>
#include <wayland-server-protocol.h>
-/*
- * Creates a new region resource with the provided new ID. If `resource_list` is
- * non-NULL, adds the region's resource to the list.
- */
-struct wl_resource *wlr_region_create(struct wl_client *client,
- uint32_t version, uint32_t id, struct wl_list *resource_list);
-
pixman_region32_t *wlr_region_from_resource(struct wl_resource *resource);
#endif