summaryrefslogtreecommitdiff
path: root/include/X11/extensions/Xrandr.h
diff options
context:
space:
mode:
authorMatthias Hopf <mhopf@suse.de>2008-11-28 17:26:43 +0100
committerMatthias Hopf <mhopf@suse.de>2008-12-04 18:19:06 +0100
commit1de7212d9a945403f13f4dc15a66ec115c3be44c (patch)
tree2c180ffa7dbf9e81052ff2e776e574ade4e957e9 /include/X11/extensions/Xrandr.h
parent0dd24bd6ad3c437f320c5d8e922c479fb61b115f (diff)
Panning support
Diffstat (limited to 'include/X11/extensions/Xrandr.h')
-rw-r--r--include/X11/extensions/Xrandr.h28
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_ */