< prev index next >

modules/javafx.web/src/main/java/javafx/scene/web/WebView.java

Print this page

        

@@ -967,16 +967,17 @@
 
         if (window == null) {
             return false;
         }
 
-        boolean iconified = (window instanceof Stage) ? ((Stage)window).isIconified() : false;
+        final boolean iconified = (window instanceof Stage) ? ((Stage)window).isIconified() : false;
+        final boolean maximized = (window instanceof Stage) ? ((Stage)window).isMaximized() : false;
 
         return NodeHelper.isTreeShowing(this)
                && window.getWidth() > 0
                && window.getHeight() > 0
-               && !iconified;
+               && (maximized ? true: !iconified);
     }
 
     private void handleStagePulse() {
         // The stage pulse occurs before the scene pulse.
         // Here the page content is updated before CSS/Layout/Sync pass
< prev index next >