diff options
author | Matthias Hopf <mhopf@suse.de> | 2008-11-28 17:26:43 +0100 |
---|---|---|
committer | Matthias Hopf <mhopf@suse.de> | 2008-12-04 18:19:06 +0100 |
commit | 1de7212d9a945403f13f4dc15a66ec115c3be44c (patch) | |
tree | 2c180ffa7dbf9e81052ff2e776e574ade4e957e9 /include/X11/extensions/Xrandr.h | |
parent | 0dd24bd6ad3c437f320c5d8e922c479fb61b115f (diff) |
Panning support
Diffstat (limited to 'include/X11/extensions/Xrandr.h')
-rw-r--r-- | include/X11/extensions/Xrandr.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/X11/extensions/Xrandr.h b/include/X11/extensions/Xrandr.h index 892fae8..80d9d47 100644 --- a/include/X11/extensions/Xrandr.h +++ b/include/X11/extensions/Xrandr.h @@ -412,6 +412,34 @@ XRRGetCrtcTransform (Display *dpy, */ int XRRUpdateConfiguration(XEvent *event); +typedef struct _XRRPanning { + Time timestamp; + unsigned int left; + unsigned int top; + unsigned int width; + unsigned int height; + unsigned int track_left; + unsigned int track_top; + unsigned int track_width; + unsigned int track_height; + int border_left; + int border_top; + int border_right; + int border_bottom; +} XRRPanning; + +XRRPanning * +XRRGetPanning (Display *dpy, XRRScreenResources *resources, RRCrtc crtc); + +void +XRRFreePanning (XRRPanning *panning); + +Status +XRRSetPanning (Display *dpy, + XRRScreenResources *resources, + RRCrtc crtc, + XRRPanning *panning); + _XFUNCPROTOEND #endif /* _XRANDR_H_ */ |