diff --git a/app/src/processing/app/Sketch.java b/app/src/processing/app/Sketch.java index 33c803ecc..98e55bd88 100644 --- a/app/src/processing/app/Sketch.java +++ b/app/src/processing/app/Sketch.java @@ -749,7 +749,8 @@ public class Sketch { if (Base.isMacOS()) { // http://developer.apple.com/qa/qa2001/qa1146.html Object modifiedParam = modified ? Boolean.TRUE : Boolean.FALSE; - editor.getRootPane().putClientProperty("windowModified", modifiedParam); + // https://developer.apple.com/library/mac/technotes/tn2007/tn2196.html#WINDOW_DOCUMENTMODIFIED + editor.getRootPane().putClientProperty("Window.documentModified", modifiedParam); } } diff --git a/todo.txt b/todo.txt index d9f249bb2..7adb7561b 100644 --- a/todo.txt +++ b/todo.txt @@ -37,6 +37,8 @@ o check on why 2x core.jar inside the Java folder o maybe OS X Java can't look in subfolders? (just auto-adds things) o https://github.com/processing/processing/issues/2344 X one is used by the PDE, the other is used as a library +X get 'modified' indicator working on document windows again +X https://github.com/processing/processing/issues/2194 _ changing the mode on an untitled, unmodified sketch removes untitled status _ when renaming a tab, include the previous name to be edited