< prev index next >

src/java.desktop/unix/native/libawt_xawt/awt/Xrandr.h

Print this page

        

@@ -116,18 +116,36 @@
     int             nmode;
     int             npreferred;
     RRMode          *modes;
 } XRROutputInfo;
 
+typedef struct {
+    Time            timestamp;
+    int             x, y;
+    unsigned int    width, height;
+    RRMode          mode;
+    Rotation        rotation;
+    int             noutput;
+    RROutput        *outputs;
+    Rotation        rotations;
+    int             npossible;
+    RROutput        *possible;
+} XRRCrtcInfo;
+
 XRRScreenResources *XRRGetScreenResources (Display *dpy, Window window);
 
 void XRRFreeScreenResources (XRRScreenResources *resources);
 
 XRROutputInfo * XRRGetOutputInfo (Display *dpy, XRRScreenResources *resources,
                                                                RROutput output);
 void XRRFreeOutputInfo (XRROutputInfo *outputInfo);
 
+XRRCrtcInfo *XRRGetCrtcInfo (Display *dpy, XRRScreenResources *resources,
+                                                                   RRCrtc crtc);
+void XRRFreeCrtcInfo (XRRCrtcInfo *crtcInfo);
+
+
 /* internal representation is private to the library */
 typedef struct _XRRScreenConfiguration XRRScreenConfiguration;
 
 Bool XRRQueryExtension (Display *dpy, int *event_basep, int *error_basep);
 Status XRRQueryVersion (Display *dpy,
< prev index next >