changeset 6607:6ee1fdb759ff

RT-36444 [JFXPanel] JavaFx components are not correctly displayed after locking and unlocking Windows Reviewed by: kcr
author Martin Sladecek <martin.sladecek@oracle.com>
date Thu, 03 Apr 2014 14:19:29 +0200
parents d778dbb6c528
children ee7c076c37c9
files modules/graphics/src/main/java/com/sun/javafx/tk/quantum/UploadingPainter.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/java/com/sun/javafx/tk/quantum/UploadingPainter.java	Thu Apr 03 08:51:14 2014 +0200
+++ b/modules/graphics/src/main/java/com/sun/javafx/tk/quantum/UploadingPainter.java	Thu Apr 03 14:19:29 2014 +0200
@@ -104,6 +104,7 @@
                 rttexture.lock();
                 if (rttexture.isSurfaceLost()) {
                     rttexture.unlock();
+                    sceneState.getScene().entireSceneNeedsRepaint();
                     needsReset = true;
                 }
             }