Files
xserver/include/globals.h
Enrico Weigelt, metux IT consult 92e6c75bfc include: globals: add missing includes
Headers should always be self-consistent, thus including anything they need.
Not relying on those already included before by somebody else.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-04 11:25:20 +01:00

29 lines
710 B
C

#ifndef _XSERV_GLOBAL_H_
#define _XSERV_GLOBAL_H_
#include <X11/Xdefs.h>
#include <X11/Xfuncproto.h>
#include "window.h" /* for WindowPtr */
#include "extinit.h"
#ifdef DPMSExtension
/* sigh, too many drivers assume this */
#include <X11/extensions/dpmsconst.h>
#endif
/* Global X server variables that are visible to mi, dix, os, and ddx */
extern _X_EXPORT const char *defaultFontPath;
extern _X_EXPORT int monitorResolution;
extern _X_EXPORT int defaultColorVisualClass;
extern _X_EXPORT int GrabInProgress;
extern _X_EXPORT char *SeatId;
#ifdef XINERAMA
extern _X_EXPORT Bool PanoramiXExtensionDisabledHack;
#endif /* XINERAMA */
#endif /* !_XSERV_GLOBAL_H_ */