more work on resolutions and full screen

This commit is contained in:
Ben Fry
2023-02-18 16:33:27 -05:00
parent e766a11063
commit 3bd7ffed17
2 changed files with 9 additions and 3 deletions
+4 -3
View File
@@ -808,10 +808,11 @@ public class PSurfaceJOGL implements PSurface {
if (sketchWidth != sketchWidthRequested || sketchHeight != sketchHeightRequested) {
if (!sketch.sketchFullScreen()) {
// don't show the message when using fullScreen()
PGraphics.showWarning("The sketch has been resized from " +
PGraphics.showWarning(
"The sketch has been resized from " +
"%dx%d to %dx%d by the operating system.%n" +
"This is happening outside Processing, " +
"and is probably a limitation of the OS or window manager.",
"This happened outside Processing, " +
"and may be a limitation of the OS or window manager.",
sketchWidthRequested, sketchHeightRequested, sketchWidth, sketchHeight);
}
}
+5
View File
@@ -5,6 +5,11 @@ X Support chained decimals during SVG Parsing
X https://github.com/processing/processing4/pull/659
X https://github.com/processing/processing4/issues/515
_ has been resized from 100?100 to 116?100 by the window manager
_ fullScreen(P2D) from an executable does not work properly
_ partially fixed, but now need to sort out hidpi issues
_ https://github.com/processing/processing4/issues/514
_ args passed to main() aren't working
_ (there was a bug report for this already?)