Registry / other / libxpresent

libxpresent

JSON →
library1.0.2vcpkgunverified

Xlib-based library for the X Present Extension

vcpkg install libxpresent
INSTALL
IMPORT
SIG · LIBXPRESENT
L
libxpresent
othercppv1.0.2
harness data pending
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/Xpresent.h
#include <X11/extensions/Xpresent.h>

Initialize the X Present extension and check availability

#include <X11/extensions/Xpresent.h> #include <X11/Xlib.h> int main() { Display* dpy = XOpenDisplay(nullptr); if (!dpy) return 1; int event_base, error_base; if (XPresentQueryExtension(dpy, &event_base, &error_base)) { // Use Present extension } XCloseDisplay(dpy); return 0; }
Debug
Known issues
gotchaRequires an X server running and the Present extension to be supported by the display.
fix
Ensure the X server is running and the Present extension is available (check with xdpyinfo).
affects: *
Upgrade
Version history
1.0.2latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

libxpresent — pip install libxpresent · libregistry