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/Xrandr.h
✓ #include <X11/extensions/Xrandr.h>
Check if RandR extension is available
#include <X11/extensions/Xrandr.h>
#include <X11/Xlib.h>
#include <stdio.h>
int main() {
Display *dpy = XOpenDisplay(NULL);
if (dpy) {
int event_base, error_base;
if (XRRQueryExtension(dpy, &event_base, &error_base)) {
printf("RandR extension available\n");
}
XCloseDisplay(dpy);
}
return 0;
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.