*** empty log message ***

This commit is contained in:
Elias Naur 2004-12-12 17:07:45 +00:00
parent 46f9ce6ca4
commit 1263176471
1 changed files with 7 additions and 3 deletions

View File

@ -132,12 +132,16 @@ static bool isXF86VidModeSupported(JNIEnv *env, Display *disp) {
}
static extension getBestDisplayModeExtension(JNIEnv *env, Display *disp) {
if (isXrandrSupported(env, disp))
if (isXrandrSupported(env, disp)) {
printfDebugJava(env, "Using Xrandr for display mode switching");
return XRANDR;
else if (isXF86VidModeSupported(env, disp))
} else if (isXF86VidModeSupported(env, disp)) {
printfDebugJava(env, "Using XF86VidMode for display mode switching");
return XF86VIDMODE;
else
} else {
printfDebugJava(env, "No display mode extensions available");
return NONE;
}
}
static mode_info *getXrandrDisplayModes(Display *disp, int screen, int *num_modes) {