Archived
1
0
Fork 0

first and last commit

This commit is contained in:
Sen 2025-09-02 14:43:36 +02:00
commit c9e78fd810
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
381 changed files with 37141 additions and 0 deletions

69
x11_stub.h Normal file
View file

@ -0,0 +1,69 @@
typedef void (* PFN_XRRFreeCrtcInfo)(XRRCrtcInfo*);
typedef void (* PFN_XRRFreeOutputInfo)(XRROutputInfo*);
typedef void (* PFN_XRRFreeScreenResources)(XRRScreenResources*);
typedef XRRCrtcInfo* (* PFN_XRRGetCrtcInfo) (Display*,XRRScreenResources*,RRCrtc);
typedef XRROutputInfo* (* PFN_XRRGetOutputInfo)(Display*,XRRScreenResources*,RROutput);
typedef RROutput (* PFN_XRRGetOutputPrimary)(Display*,Window);
typedef XRRScreenResources* (* PFN_XRRGetScreenResourcesCurrent)(Display*,Window);
typedef Bool (* PFN_XRRQueryExtension)(Display*,int*,int*);
typedef Status (* PFN_XRRQueryVersion)(Display*,int*,int*);
typedef void (* PFN_XRRSelectInput)(Display*,Window,int);
typedef Status (* PFN_XRRSetCrtcConfig)(Display*,XRRScreenResources*,RRCrtc,Time,int,int,RRMode,Rotation,RROutput*,int);
typedef int (* PFN_XRRUpdateConfiguration)(XEvent*);
#define XRRFreeCrtcInfo wcf.randr.FreeCrtcInfo
#define XRRFreeOutputInfo wcf.randr.FreeOutputInfo
#define XRRFreeScreenResources wcf.randr.FreeScreenResources
#define XRRGetCrtcInfo wcf.randr.GetCrtcInfo
#define XRRGetOutputInfo wcf.randr.GetOutputInfo
#define XRRGetOutputPrimary wcf.randr.GetOutputPrimary
#define XRRGetScreenResourcesCurrent wcf.randr.GetScreenResourcesCurrent
#define XRRQueryExtension wcf.randr.QueryExtension
#define XRRQueryVersion wcf.randr.QueryVersion
#define XRRSelectInput wcf.randr.SelectInput
#define XRRSetCrtcConfig wcf.randr.SetCrtcConfig
#define XRRUpdateConfiguration wcf.randr.UpdateConfiguration
typedef XcursorImage* (* PFN_XcursorImageCreate)(int,int);
typedef void (* PFN_XcursorImageDestroy)(XcursorImage*);
typedef Cursor (* PFN_XcursorImageLoadCursor)(Display*,const XcursorImage*);
#define XcursorImageCreate wcf.xcursor.ImageCreate
#define XcursorImageDestroy wcf.xcursor.ImageDestroy
#define XcursorImageLoadCursor wcf.xcursor.ImageLoadCursor
typedef Bool (* PFN_XineramaIsActive)(Display*);
typedef Bool (* PFN_XineramaQueryExtension)(Display*,int*,int*);
typedef XineramaScreenInfo* (* PFN_XineramaQueryScreens)(Display*,int*);
#define XineramaIsActive wcf.xinerama.IsActive
#define XineramaQueryExtension wcf.xinerama.QueryExtension
#define XineramaQueryScreens wcf.xinerama.QueryScreens
typedef XID xcb_window_t;
typedef XID xcb_visualid_t;
typedef struct xcb_connection_t xcb_connection_t;
typedef xcb_connection_t* (* PFN_XGetXCBConnection)(Display*);
#define XGetXCBConnection wcf.x11xcb.GetXCBConnection
typedef Bool (* PFN_XF86VidModeQueryExtension)(Display*,int*,int*);
#define XF86VidModeQueryExtension wcf.vidmode.QueryExtension
typedef Status (* PFN_XIQueryVersion)(Display*,int*,int*);
typedef int (* PFN_XISelectEvents)(Display*,Window,XIEventMask*,int);
#define XIQueryVersion wcf.xi.QueryVersion
#define XISelectEvents wcf.xi.SelectEvents
typedef Bool (* PFN_XRenderQueryExtension)(Display*,int*,int*);
typedef Status (* PFN_XRenderQueryVersion)(Display*dpy,int*,int*);
typedef XRenderPictFormat* (* PFN_XRenderFindVisualFormat)(Display*,Visual const*);
#define XRenderQueryExtension wcf.xrender.QueryExtension
#define XRenderQueryVersion wcf.xrender.QueryVersion
#define XRenderFindVisualFormat wcf.xrender.FindVisualFormat
#define _NET_WM_STATE_REMOVE 0
#define _NET_WM_STATE_ADD 1
#define _NET_WM_STATE_TOGGLE 2
#define MWM_HINTS_DECORATIONS 2
#define MWM_DECOR_ALL 1
#define WCF_XDND_VERSION 5