From 2c88b6dfd4eb7e2cd9a50fa48e08ecafc980931a Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 20 Mar 2015 21:42:23 +0100 Subject: Bug 1147 - Fix XRandR13 Usage: Rotate / Change-Mode, use unique CRTC/Mode ids, .. RandR 1.3 XRRSetCrtcConfig related: - X11RandR13 now sets the new screen size via XRRSetScreenSize(..) - X11RandR13 now propagates RRScreenChangeNotify events via XRRUpdateConfiguration(event). Hence reporting virtual desktop size now. - X11RandR13 now disables the CRTC before XRRSetCrtcConfig(..) to avoid invalid configuration (see spec)! RandR 1.3 General: - Uses unique id named instead of unstable index for modes and CRTC. This allows proper identification even for 'swizzled' devices. --- src/newt/native/X11Screen.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/newt/native/X11Screen.h') diff --git a/src/newt/native/X11Screen.h b/src/newt/native/X11Screen.h index c81ee05d5..5f47cc90d 100644 --- a/src/newt/native/X11Screen.h +++ b/src/newt/native/X11Screen.h @@ -32,7 +32,7 @@ #include "X11Common.h" -int NewtScreen_XRotation2Degree(JNIEnv *env, int xrotation); -int NewtScreen_Degree2XRotation(JNIEnv *env, int degree); +int NewtScreen_XRotation2Degree(JNIEnv *env, Rotation xrotation); +Rotation NewtScreen_Degree2XRotation(JNIEnv *env, int degree); #endif /* _X11SCREEN_H */ -- cgit v1.2.3