Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
X11/extensions/xf86vmode.h
✓ #include <X11/extensions/xf86vmode.h>
Checks if the XFree86-VidMode extension is available
#include <X11/extensions/xf86vmode.h>
#include <X11/Xlib.h>
#include <iostream>
int main() {
Display* dpy = XOpenDisplay(NULL);
if (!dpy) return 1;
int event_base, error_base;
if (XF86VidModeQueryExtension(dpy, &event_base, &error_base))
std::cout << "VidMode extension available" << std::endl;
XCloseDisplay(dpy);
return 0;
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.