Skip to content

Commit befd7d4

Browse files
author
Federico Fissore
committed
OSX: attempting to draw a black dot in the upper left red button. Fixes #3816
1 parent 71c81e3 commit befd7d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/processing/app/Sketch.java

+1
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,7 @@ private void calcModified() {
525525
// http://developer.apple.com/qa/qa2001/qa1146.html
526526
Object modifiedParam = modified ? Boolean.TRUE : Boolean.FALSE;
527527
editor.getRootPane().putClientProperty("windowModified", modifiedParam);
528+
editor.getRootPane().putClientProperty("Window.documentModified", modifiedParam);
528529
}
529530
}
530531

0 commit comments

Comments
 (0)