--- old/src/java.desktop/unix/native/libawt_xawt/awt/Xrandr.h 2016-10-12 10:21:55.901731567 +0300 +++ new/src/java.desktop/unix/native/libawt_xawt/awt/Xrandr.h 2016-10-12 10:21:55.749731573 +0300 @@ -118,6 +118,19 @@ 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); @@ -126,6 +139,11 @@ 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;