diff options
Diffstat (limited to 'include/X11')
-rw-r--r-- | include/X11/extensions/Xrandr.h | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/include/X11/extensions/Xrandr.h b/include/X11/extensions/Xrandr.h index 4112b39..32171f9 100644 --- a/include/X11/extensions/Xrandr.h +++ b/include/X11/extensions/Xrandr.h @@ -378,17 +378,34 @@ void XRRSetCrtcTransform (Display *dpy, RRCrtc crtc, XTransform *transform, - XTransform *inverse); + XTransform *inverse, + char *filter, + XFixed *params, + int nparams); + +typedef struct _XRRCrtcTransformAttributes { + XTransform pendingTransform; + XTransform pendingInverse; + char *pendingFilter; + int pendingNparams; + XFixed *pendingParams; + XTransform currentTransform; + XTransform currentInverse; + char *currentFilter; + int currentNparams; + XFixed *currentParams; +} XRRCrtcTransformAttributes; +/* + * Get current crtc transforms and filters. + * Pass *attributes to XFree to free + */ Status XRRGetCrtcTransform (Display *dpy, RRCrtc crtc, - XTransform *pendingTransform, - XTransform *pendingInverse, - XTransform *currentTransform, - XTransform *currentInverse); + XRRCrtcTransformAttributes **attributes); -/* +/* * intended to take RRScreenChangeNotify, or * ConfigureNotify (on the root window) * returns 1 if it is an event type it understands, 0 if not |