From 84fc6aaf5a869da385dc8cf26cc31f4e43f5098c Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Tue, 1 Apr 2025 15:39:02 +0300 Subject: [PATCH] Drop region.h This header has been deprecated a while ago. --- include/types/wlr_region.h | 2 -- include/wlr/types/wlr_region.h | 20 -------------------- 2 files changed, 22 deletions(-) delete mode 100644 include/wlr/types/wlr_region.h 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