This commit is contained in:
onurs 2018-11-22 20:58:16 +00:00 committed by GitHub
commit 539bf6a8ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -262,7 +262,7 @@ public class XRandR {
}
private static final Pattern SCREEN_HEADER_PATTERN = Pattern.compile("^(\\d+)x(\\d+)[+](\\d+)[+](\\d+)$");
private static final Pattern SCREEN_MODELINE_PATTERN = Pattern.compile("^(\\d+)x(\\d+)$");
private static final Pattern SCREEN_MODELINE_PATTERN = Pattern.compile("^(\d+)x(\d+)(_\d+\.\d+)?$");
private static final Pattern FREQ_PATTERN = Pattern.compile("^(\\d+[.]\\d+)(?:\\s*[*])?(?:\\s*[+])?$");
/**
@ -398,4 +398,4 @@ public class XRandR {
return name + " " + width + "x" + height + " @ " + xPos + "x" + yPos + " with " + freqOriginal + "Hz";
}
}
}
}