mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
mi: move *_VISUALS defines into consumer source file
These are only needed inside one .c source, so no need to keep thm exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1498>
(cherry picked from commit 27babe0334)
This commit is contained in:
committed by
Alan Coopersmith
parent
dae58a2d2e
commit
f4ed79c344
@@ -39,6 +39,11 @@
|
||||
#include "globals.h"
|
||||
#include "micmap.h"
|
||||
|
||||
#define ALL_VISUALS (StaticGrayMask|GrayScaleMask|StaticColorMask|\
|
||||
PseudoColorMask|TrueColorMask|DirectColorMask)
|
||||
#define LARGE_VISUALS (TrueColorMask|DirectColorMask)
|
||||
#define SMALL_VISUALS (StaticGrayMask|GrayScaleMask|StaticColorMask|PseudoColorMask)
|
||||
|
||||
DevPrivateKeyRec micmapScrPrivateKeyRec;
|
||||
|
||||
int
|
||||
|
||||
15
mi/micmap.h
15
mi/micmap.h
@@ -49,19 +49,4 @@ extern _X_EXPORT Bool miInitVisuals(VisualPtr *, DepthPtr *, int *, int *,
|
||||
#define TrueColorMask (1 << TrueColor)
|
||||
#define DirectColorMask (1 << DirectColor)
|
||||
|
||||
#define ALL_VISUALS (StaticGrayMask|\
|
||||
GrayScaleMask|\
|
||||
StaticColorMask|\
|
||||
PseudoColorMask|\
|
||||
TrueColorMask|\
|
||||
DirectColorMask)
|
||||
|
||||
#define LARGE_VISUALS (TrueColorMask|\
|
||||
DirectColorMask)
|
||||
|
||||
#define SMALL_VISUALS (StaticGrayMask|\
|
||||
GrayScaleMask|\
|
||||
StaticColorMask|\
|
||||
PseudoColorMask)
|
||||
|
||||
#endif /* _MICMAP_H_ */
|
||||
|
||||
Reference in New Issue
Block a user