mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
region: make wlr_region_create private
This function should only be called from the handler for wl_compositor.create_region requests.
This commit is contained in:
parent
3d7aa73867
commit
45f992b27b
4 changed files with 17 additions and 10 deletions
13
include/types/wlr_region.h
Normal file
13
include/types/wlr_region.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef TYPES_WLR_REGION_H
|
||||
#define TYPES_WLR_REGION_H
|
||||
|
||||
#include <wlr/types/wlr_region.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 *region_create(struct wl_client *client,
|
||||
uint32_t version, uint32_t id);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue