aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/org/gnu/emacs/EmacsView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/org/gnu/emacs/EmacsView.java b/java/org/gnu/emacs/EmacsView.java
index 2ea54217837..82792c3fcca 100644
--- a/java/org/gnu/emacs/EmacsView.java
+++ b/java/org/gnu/emacs/EmacsView.java
@@ -425,7 +425,7 @@ public final class EmacsView extends ViewGroup
425 window.viewLayout (left, top, right, bottom); 425 window.viewLayout (left, top, right, bottom);
426 } 426 }
427 427
428 if (needExpose) 428 if (needExpose && isAttachedToWindow)
429 EmacsNative.sendExpose (this.window.handle, 0, 0, 429 EmacsNative.sendExpose (this.window.handle, 0, 0,
430 right - left, bottom - top); 430 right - left, bottom - top);
431 } 431 }