Go to the documentation of this file.
34 #include <X11/keysym.h>
35 #include <X11/Xatom.h>
36 #include <X11/Xcursor/Xcursor.h>
39 #include <X11/extensions/Xrandr.h>
42 #include <X11/XKBlib.h>
45 #include <X11/extensions/Xinerama.h>
48 #include <X11/extensions/XInput2.h>
50 typedef XRRCrtcGamma* (* PFN_XRRAllocGamma)(int);
55 typedef XRRCrtcGamma* (* PFN_XRRGetCrtcGamma)(Display*,RRCrtc);
57 typedef XRRCrtcInfo* (* PFN_XRRGetCrtcInfo) (Display*,XRRScreenResources*,RRCrtc);
58 typedef XRROutputInfo* (* PFN_XRRGetOutputInfo)(Display*,XRRScreenResources*,RROutput);
60 typedef XRRScreenResources* (* PFN_XRRGetScreenResourcesCurrent)(Display*,Window);
64 typedef Status (*
PFN_XRRSetCrtcConfig)(Display*,XRRScreenResources*,RRCrtc,Time,int,int,RRMode,Rotation,RROutput*,int);
67 #define XRRAllocGamma _glfw.x11.randr.AllocGamma
68 #define XRRFreeCrtcInfo _glfw.x11.randr.FreeCrtcInfo
69 #define XRRFreeGamma _glfw.x11.randr.FreeGamma
70 #define XRRFreeOutputInfo _glfw.x11.randr.FreeOutputInfo
71 #define XRRFreeScreenResources _glfw.x11.randr.FreeScreenResources
72 #define XRRGetCrtcGamma _glfw.x11.randr.GetCrtcGamma
73 #define XRRGetCrtcGammaSize _glfw.x11.randr.GetCrtcGammaSize
74 #define XRRGetCrtcInfo _glfw.x11.randr.GetCrtcInfo
75 #define XRRGetOutputInfo _glfw.x11.randr.GetOutputInfo
76 #define XRRGetOutputPrimary _glfw.x11.randr.GetOutputPrimary
77 #define XRRGetScreenResourcesCurrent _glfw.x11.randr.GetScreenResourcesCurrent
78 #define XRRQueryExtension _glfw.x11.randr.QueryExtension
79 #define XRRQueryVersion _glfw.x11.randr.QueryVersion
80 #define XRRSelectInput _glfw.x11.randr.SelectInput
81 #define XRRSetCrtcConfig _glfw.x11.randr.SetCrtcConfig
82 #define XRRSetCrtcGamma _glfw.x11.randr.SetCrtcGamma
83 #define XRRUpdateConfiguration _glfw.x11.randr.UpdateConfiguration
85 typedef XcursorImage* (* PFN_XcursorImageCreate)(int,int);
88 #define XcursorImageCreate _glfw.x11.xcursor.ImageCreate
89 #define XcursorImageDestroy _glfw.x11.xcursor.ImageDestroy
90 #define XcursorImageLoadCursor _glfw.x11.xcursor.ImageLoadCursor
94 typedef XineramaScreenInfo* (* PFN_XineramaQueryScreens)(Display*,
int*);
95 #define XineramaIsActive _glfw.x11.xinerama.IsActive
96 #define XineramaQueryExtension _glfw.x11.xinerama.QueryExtension
97 #define XineramaQueryScreens _glfw.x11.xinerama.QueryScreens
103 #define XGetXCBConnection _glfw.x11.x11xcb.GetXCBConnection
109 #define XF86VidModeQueryExtension _glfw.x11.vidmode.QueryExtension
110 #define XF86VidModeGetGammaRamp _glfw.x11.vidmode.GetGammaRamp
111 #define XF86VidModeSetGammaRamp _glfw.x11.vidmode.SetGammaRamp
112 #define XF86VidModeGetGammaRampSize _glfw.x11.vidmode.GetGammaRampSize
116 #define XIQueryVersion _glfw.x11.xi.QueryVersion
117 #define XISelectEvents _glfw.x11.xi.SelectEvents
121 typedef XRenderPictFormat* (* PFN_XRenderFindVisualFormat)(Display*,Visual
const*);
122 #define XRenderQueryExtension _glfw.x11.xrender.QueryExtension
123 #define XRenderQueryVersion _glfw.x11.xrender.QueryVersion
124 #define XRenderFindVisualFormat _glfw.x11.xrender.FindVisualFormat
158 #if defined(__linux__)
164 #define _glfw_dlopen(name) dlopen(name, RTLD_LAZY | RTLD_LOCAL)
165 #define _glfw_dlclose(handle) dlclose(handle)
166 #define _glfw_dlsym(handle, name) dlsym(handle, name)
168 #define _GLFW_EGL_NATIVE_WINDOW ((EGLNativeWindowType) window->x11.handle)
169 #define _GLFW_EGL_NATIVE_DISPLAY ((EGLNativeDisplayType) _glfw.x11.display)
171 #define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowX11 x11
172 #define _GLFW_PLATFORM_LIBRARY_WINDOW_STATE _GLFWlibraryX11 x11
173 #define _GLFW_PLATFORM_MONITOR_STATE _GLFWmonitorX11 x11
174 #define _GLFW_PLATFORM_CURSOR_STATE _GLFWcursorX11 x11
436 unsigned char** value);
PFN_XRRGetScreenResourcesCurrent GetScreenResourcesCurrent
struct _GLFWlibraryX11::@26 xdnd
PFN_XRRFreeOutputInfo FreeOutputInfo
Atom NET_WM_STATE_DEMANDS_ATTENTION
PFN_XRRUpdateConfiguration UpdateConfiguration
PFN_XineramaQueryExtension QueryExtension
PFN_XRRGetCrtcGamma GetCrtcGamma
PFN_XRRFreeScreenResources FreeScreenResources
_GLFWwindow * disabledCursorWindow
PFN_XRenderQueryVersion QueryVersion
Atom NET_WM_FULLSCREEN_MONITORS
PFN_XRRGetOutputInfo GetOutputInfo
struct _GLFWlibraryX11::@27 xcursor
PFN_XRenderQueryExtension QueryExtension
Atom NET_WM_WINDOW_OPACITY
PFN_XRRSetCrtcGamma SetCrtcGamma
PFN_XineramaQueryScreens QueryScreens
short int scancodes[GLFW_KEY_LAST+1]
struct _GLFWlibraryX11::@28 xinerama
Atom NET_WM_STATE_MAXIMIZED_VERT
struct _GLFWlibraryX11::@24 xkb
error
Error code indicating why parse failed.
struct _GLFWlibraryX11::@30 vidmode
PFN_XGetXCBConnection GetXCBConnection
char * primarySelectionString
struct _GLFWlibraryX11::@25 saver
GLenum GLuint GLenum GLsizei const GLchar * message
VkXlibSurfaceCreateFlagsKHR flags
Atom NET_REQUEST_FRAME_EXTENTS
Atom NET_WM_WINDOW_TYPE_NORMAL
PFN_XineramaIsActive IsActive
PFN_XF86VidModeGetGammaRampSize GetGammaRampSize
PFN_XRRQueryVersion QueryVersion
struct _GLFWlibraryX11::@23 randr
typedef void(GLAD_API_PTR *GLDEBUGPROC)(GLenum source
Window helperWindowHandle
GLFWbool overrideRedirect
PFN_XISelectEvents SelectEvents
PFN_XRRFreeCrtcInfo FreeCrtcInfo
struct VkAllocationCallbacks VkAllocationCallbacks
PFN_XF86VidModeGetGammaRamp GetGammaRamp
PFN_XRRSetCrtcConfig SetCrtcConfig
PFN_XcursorImageCreate ImageCreate
struct _GLFWlibraryX11::@29 x11xcb
PFN_XF86VidModeSetGammaRamp SetGammaRamp
PFN_XRRGetCrtcGammaSize GetCrtcGammaSize
PFN_XIQueryVersion QueryVersion
Atom NET_WM_BYPASS_COMPOSITOR
Atom NET_WM_STATE_MAXIMIZED_HORZ
PFN_XRRAllocGamma AllocGamma
struct _GLFWlibraryX11::@32 xrender
xcb_connection_t * connection
PFN_XRRGetOutputPrimary GetOutputPrimary
struct _GLFWlibraryX11::@31 xi
PFN_XRRFreeGamma FreeGamma
PFN_XRenderFindVisualFormat FindVisualFormat
PFN_XcursorImageLoadCursor ImageLoadCursor
PFN_XRRSelectInput SelectInput
PFN_XF86VidModeQueryExtension QueryExtension
PFN_XRRQueryExtension QueryExtension
PFN_XRRGetCrtcInfo GetCrtcInfo
Cursor hiddenCursorHandle
VkXcbSurfaceCreateFlagsKHR flags
PFN_XcursorImageDestroy ImageDestroy
Atom NET_WM_STATE_FULLSCREEN
mvsim
Author(s):
autogenerated on Wed May 28 2025 02:13:08