mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
don't show window manager resize message when using fullScreen()
This commit is contained in:
@@ -808,9 +808,12 @@ public class PSurfaceJOGL implements PSurface {
|
||||
|
||||
if (sketch.frameCount == 0) {
|
||||
if (sketchWidth != sketchWidthRequested || sketchHeight != sketchHeightRequested) {
|
||||
PGraphics.showWarning("The sketch has been resized from " +
|
||||
"%d\u2715%d to %d\u2715%d by the window manager.",
|
||||
sketchWidthRequested, sketchHeightRequested, sketchWidth, sketchHeight);
|
||||
if (!sketch.sketchFullScreen()) {
|
||||
// don't show the message when using fullScreen()
|
||||
PGraphics.showWarning("The sketch has been resized from " +
|
||||
"%d\u2715%d to %d\u2715%d by the window manager.",
|
||||
sketchWidthRequested, sketchHeightRequested, sketchWidth, sketchHeight);
|
||||
}
|
||||
}
|
||||
requestFocus();
|
||||
}
|
||||
|
||||
@@ -19,7 +19,11 @@ _ jogl build for m1
|
||||
_ https://github.com/processing/processing4/issues/128
|
||||
_ https://forum.jogamp.org/JOGL-for-Mac-ARM-Silicon-td4040887.html
|
||||
_ https://github.com/jzy3d/jogl/blob/feature/macosx-arm64/HOW-TO-ADD-ARM64-TO-2.4.md
|
||||
_ direct link to our reference https://github.com/jzy3d/jogl/blob/c43709921f9a616880782646ca7681a9eadee091/HOW-TO-ADD-ARM64-TO-2.4.md
|
||||
|
||||
X incorporated patches
|
||||
X https://github.com/jzy3d/jogl/pull/17/files
|
||||
X https://github.com/jzy3d/jogl/pull/16/files
|
||||
|
||||
_ concurrent StringDict et al
|
||||
_ why no concurrent TreemMap? https://stackoverflow.com/a/17656453
|
||||
|
||||
@@ -80,7 +80,9 @@ X change up StatusPanelDetail constructor to clean up accessors
|
||||
|
||||
preproc
|
||||
X correctly handling sketch renderer with fullScreen()
|
||||
X also when using other display numbers
|
||||
X https://github.com/processing/processing4/pull/474
|
||||
X https://github.com/processing/processing4/issues/471
|
||||
X return PreprocessorResult for Android Mode
|
||||
X https://github.com/processing/processing4/pull/470
|
||||
X https://github.com/processing/processing4/issues/469
|
||||
|
||||
Reference in New Issue
Block a user