Library for the Render Extension to the X11 protocol.
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.
#include <X11/extensions/Xrender.h>
Check if XRender extension is available
#include <X11/extensions/Xrender.h>
#include <X11/Xlib.h>
#include <iostream>
int main() {
Display* dpy = XOpenDisplay(NULL);
if (!dpy) {
std::cerr << "Cannot open display" << std::endl;
return 1;
}
int event_base, error_base;
if (XRenderQueryExtension(dpy, &event_base, &error_base)) {
std::cout << "XRender extension available" << std::endl;
}
XCloseDisplay(dpy);
return 0;
}
Debug
Known footguns
No known footguns recorded.
Upgrade
Version history
Breaking-change detection hasn't run for this library yet.
Audit
Security & dependencies
CVE tracking and dependency tree are planned for a later release.
Resources
No resource links recorded.