mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-14 05:14:45 +00:00
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
14 lines
400 B
C
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_ */
|