treewide: don't include <region.h> anymore

Nothing in there that we need, include <regionstr.h> instead.
But keeping the file in place, until all external consumer have
been migrated.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-11-21 20:56:22 +01:00
committed by Enrico Weigelt
parent d4e67aa773
commit 9b8d7d1eb9
12 changed files with 18 additions and 20 deletions

View File

@@ -25,10 +25,10 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "dix/selection_priv.h"
#include "include/callback.h"
#include "include/regionstr.h"
#include "extnsionst.h"
#include "pixmap.h"
#include "region.h"
#include "window.h"
#include "property.h"

View File

@@ -107,7 +107,6 @@ SOFTWARE.
#include "inputstr.h"
#include "windowstr.h"
#include "miscstruct.h"
#include "region.h"
#include "extnsionst.h"
#include "exglobals.h"
#include "eventstr.h"

View File

@@ -60,7 +60,6 @@ SOFTWARE.
#include "pixmapstr.h"
#include "dixfontstr.h"
#include "scrnintstr.h"
#include "region.h"
#include "dixstruct.h"
#include "privates.h"
#include "dix.h"

View File

@@ -30,7 +30,7 @@
#include "scrnintstr.h"
#include "pixmap.h"
#include "pixmapstr.h"
#include "region.h"
#include "regionstr.h"
#include "gcstruct.h"
#include "colormap.h"
#include "miscstruct.h"

View File

@@ -15,6 +15,7 @@ is" without express or implied warranty.
#include <stdint.h>
#include <X11/fonts/fontstruct.h>
#include <X11/X.h>
#include <X11/Xdefs.h>
#include <X11/Xproto.h>
@@ -22,13 +23,13 @@ is" without express or implied warranty.
#include <xcb/xcb.h>
#include <xcb/xcb_aux.h>
#include "include/regionstr.h"
#include "gcstruct.h"
#include "windowstr.h"
#include "pixmapstr.h"
#include "scrnintstr.h"
#include <X11/fonts/fontstruct.h>
#include "mistruct.h"
#include "region.h"
#include "xnest-xcb.h"

View File

@@ -28,7 +28,6 @@ is" without express or implied warranty.
#include "scrnintstr.h"
#include "windowstr.h"
#include "pixmapstr.h"
#include "region.h"
#include "servermd.h"
#include "xnest-xcb.h"

View File

@@ -21,6 +21,7 @@ is" without express or implied warranty.
#include <X11/Xdefs.h>
#include <X11/Xproto.h>
#include "include/regionstr.h"
#include "mi/mi_priv.h"
#include "gcstruct.h"
@@ -28,7 +29,6 @@ is" without express or implied warranty.
#include "windowstr.h"
#include "pixmapstr.h"
#include "scrnintstr.h"
#include "region.h"
#include "xnest-xcb.h"

View File

@@ -150,7 +150,6 @@
#include "scrnintstr.h"
#include "pixmapstr.h"
#include "pixmap.h"
#include "region.h"
#include "gcstruct.h"
#include "colormap.h"
#include "miscstruct.h"

View File

@@ -47,14 +47,13 @@ SOFTWARE.
#ifndef GCSTRUCT_H
#define GCSTRUCT_H
#include "gc.h"
#include <X11/Xprotostr.h>
#include "regionstr.h"
#include "region.h"
#include "gc.h"
#include "pixmap.h"
#include "regionstr.h"
#include "screenint.h"
#include "privates.h"
#include <X11/Xprotostr.h>
#define GCAllBits ((1 << (GCLastBit + 1)) - 1)

View File

@@ -47,11 +47,12 @@ SOFTWARE.
#ifndef WINDOW_H
#define WINDOW_H
#include "misc.h"
#include "region.h"
#include "screenint.h"
#include <X11/Xproto.h>
#include "misc.h"
#include "regionstr.h"
#include "screenint.h"
#define TOTALLY_OBSCURED 0
#define UNOBSCURED 1
#define OBSCURED 2

View File

@@ -46,12 +46,14 @@ SOFTWARE.
#ifndef MI_H
#define MI_H
#include <X11/X.h>
#include "region.h"
#include <X11/fonts/font.h>
#include "regionstr.h"
#include "validate.h"
#include "window.h"
#include "gc.h"
#include <X11/fonts/font.h>
#include "input.h"
#include "cursor.h"
#include "privates.h"

View File

@@ -52,10 +52,9 @@ SOFTWARE.
#include "dix/cursor_priv.h"
#include "dix/dix_priv.h"
#include "dix/input_priv.h"
#include "include/regionstr.h"
#include "mi/mi_priv.h"
#include "regionstr.h"
#include "region.h"
#include "windowstr.h"
#include "scrnintstr.h"
#include "pixmapstr.h"