feat(x11): migrate to pure Xlibre + dwm/dmenu/st stack, fix fcitx5-t9 bottom bar, PM8909 PON shutdown, and remove Wayland

This commit is contained in:
Luxferre
2026-10-20 21:15:16 +03:00
parent ad012360c3
commit 7bab7b7a11
422 changed files with 63226 additions and 2342 deletions
+43
View File
@@ -0,0 +1,43 @@
#ifndef _MICMAP_H_
#define _MICMAP_H_
#include <X11/X.h>
#include <X11/Xdefs.h>
#include <X11/Xfuncproto.h>
#include "colormap.h"
#include "privates.h"
#include "screenint.h"
extern _X_EXPORT DevPrivateKeyRec micmapScrPrivateKeyRec;
#define micmapScrPrivateKey (&micmapScrPrivateKeyRec)
extern _X_EXPORT int miListInstalledColormaps(ScreenPtr pScreen,
Colormap * pmaps);
extern _X_EXPORT void miInstallColormap(ColormapPtr pmap);
extern _X_EXPORT void miUninstallColormap(ColormapPtr pmap);
extern _X_EXPORT void miResolveColor(unsigned short *, unsigned short *,
unsigned short *, VisualPtr);
extern _X_EXPORT Bool miInitializeColormap(ColormapPtr);
extern _X_EXPORT Bool miCreateDefColormap(ScreenPtr);
extern _X_EXPORT void miClearVisualTypes(void);
extern _X_EXPORT Bool miSetVisualTypes(int, int, int, int);
extern _X_EXPORT Bool miSetPixmapDepths(void);
extern _X_EXPORT Bool miSetVisualTypesAndMasks(int depth, int visuals,
int bitsPerRGB, int preferredCVC,
Pixel redMask, Pixel greenMask,
Pixel blueMask);
extern _X_EXPORT int miGetDefaultVisualMask(int);
extern _X_EXPORT Bool miInitVisuals(VisualPtr *, DepthPtr *, int *, int *,
int *, VisualID *, unsigned long, int, int);
#define MAX_PSEUDO_DEPTH 10
#define StaticColorMask (1 << StaticColor)
#define PseudoColorMask (1 << PseudoColor)
#define TrueColorMask (1 << TrueColor)
#define DirectColorMask (1 << DirectColor)
#endif /* _MICMAP_H_ */