mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-13 21:02:13 +00:00
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>
(cherry picked from commit 2cc5c57238)
This commit is contained in:
committed by
Alan Coopersmith
parent
02e2c69532
commit
25e8fda389
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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];
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user