From 3d463e97841c5400c73bb92feebac3f4dab630e8 Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Sat, 18 Feb 2023 14:45:35 -0500 Subject: [PATCH] clarifying language for window manager resize --- core/src/processing/opengl/PSurfaceJOGL.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/processing/opengl/PSurfaceJOGL.java b/core/src/processing/opengl/PSurfaceJOGL.java index d341ca6f8..7a77bc757 100644 --- a/core/src/processing/opengl/PSurfaceJOGL.java +++ b/core/src/processing/opengl/PSurfaceJOGL.java @@ -809,7 +809,9 @@ public class PSurfaceJOGL implements PSurface { 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.", + "%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.", sketchWidthRequested, sketchHeightRequested, sketchWidth, sketchHeight); } }