Drop region.h

This header has been deprecated a while ago.
This commit is contained in:
Kirill Primak 2025-04-01 15:39:02 +03:00
parent 582f487b22
commit 84fc6aaf5a
2 changed files with 0 additions and 22 deletions

View file

@ -1,8 +1,6 @@
#ifndef TYPES_WLR_REGION_H
#define TYPES_WLR_REGION_H
#include <wlr/types/wlr_region.h>
struct wl_client;
/*

View file

@ -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 <pixman.h>
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