--- old/modules/javafx.graphics/src/main/java/com/sun/glass/ui/monocle/MonocleWindow.java 2018-09-03 16:12:50.000000000 +0200 +++ new/modules/javafx.graphics/src/main/java/com/sun/glass/ui/monocle/MonocleWindow.java 2018-09-03 16:12:49.000000000 +0200 @@ -112,7 +112,7 @@ if (h > 0) { //window height surpass window content height(ch) height = h; - } else if (cw > 0) { + } else if (ch > 0) { //content height changed height = ch; } else {