diff --git a/include/types/wlr_region.h b/include/types/wlr_region.h index b00f8802d..485632555 100644 --- a/include/types/wlr_region.h +++ b/include/types/wlr_region.h @@ -1,8 +1,6 @@ #ifndef TYPES_WLR_REGION_H #define TYPES_WLR_REGION_H -#include - struct wl_client; /* diff --git a/include/wlr/types/wlr_region.h b/include/wlr/types/wlr_region.h deleted file mode 100644 index 483ac9687..000000000 --- a/include/wlr/types/wlr_region.h +++ /dev/null @@ -1,20 +0,0 @@ -/* - * This is a deprecated interface of wlroots. It will be removed in a future - * version. wlr/types/wlr_compositor.h should be used instead. - */ - -#ifndef WLR_TYPES_WLR_REGION_H -#define WLR_TYPES_WLR_REGION_H - -#include - -struct wl_resource; - -/** - * Obtain a Pixman region from a wl_region resource. - * - * To allow clients to create wl_region objects, call wlr_compositor_create(). - */ -const pixman_region32_t *wlr_region_from_resource(struct wl_resource *resource); - -#endif