xserver/include/globals.h
kaolinite7 2b7cbdda1a Add Support for DPI Auto-Detection
This PR re-adds support for DPI Auto-Detection which was available in X.Org till 21.1, but was removed. This reverts commit 35af1299 and allows to get Auto DPI Detection back only when specified by user as:
$ X -dpi auto
2026-08-31 14:37:35 +02:00

14 lines
400 B
C

#ifndef _XSERV_GLOBAL_H_
#define _XSERV_GLOBAL_H_
#include <X11/Xdefs.h>
#include <X11/Xfuncproto.h>
/* 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 Bool autosetDPI;
extern _X_EXPORT int defaultColorVisualClass;
#endif /* !_XSERV_GLOBAL_H_ */