Xnest: cleanup X.h includes

It's cleaner to include explicitly instead of relying on indirect includes,
thus adding a few more on X.h.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1394>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-02-15 19:56:08 +01:00 committed by Marge Bot
parent 737c316a99
commit 2cc5c57238
4 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,7 @@ is" without express or implied warranty.
#ifndef XNESTARGS_H
#define XNESTARGS_H
#include <X11/X.h>
#include <X11/Xdefs.h>
extern char *xnestDisplayName;

View File

@ -15,6 +15,7 @@ is" without express or implied warranty.
#ifndef XNESTCOLOR_H
#define XNESTCOLOR_H
#include <X11/X.h>
#include <X11/Xdefs.h>
#define DUMB_WINDOW_MANAGERS

View File

@ -15,6 +15,7 @@ is" without express or implied warranty.
#ifndef XNESTSCREEN_H
#define XNESTSCREEN_H
#include <X11/X.h>
#include <X11/Xdefs.h>
extern Window xnestDefaultWindows[MAXSCREENS];

View File

@ -15,6 +15,8 @@ is" without express or implied warranty.
#ifndef XNESTVISUAL_H
#define XNESTVISUAL_H
#include <X11/X.h>
Visual *xnestVisual(VisualPtr pVisual);
Visual *xnestVisualFromID(ScreenPtr pScreen, VisualID visual);
Colormap xnestDefaultVisualColormap(Visual * visual);