aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorPo Lu2023-03-18 20:05:38 +0800
committerPo Lu2023-03-18 20:05:38 +0800
commitf3dd887d1848759baf0d91264882509159bb04fc (patch)
tree7a5d899cd227116d184d9260af8a2abe9c19d75b /java
parent84ffda4be5670696259622d03ff7e35799554888 (diff)
downloademacs-f3dd887d1848759baf0d91264882509159bb04fc.tar.gz
emacs-f3dd887d1848759baf0d91264882509159bb04fc.zip
Update Android port
* java/org/gnu/emacs/EmacsView.java (onAttachedToWindow): Send measured width and height in exposures again.
Diffstat (limited to 'java')
-rw-r--r--java/org/gnu/emacs/EmacsView.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/org/gnu/emacs/EmacsView.java b/java/org/gnu/emacs/EmacsView.java
index 88d17a255a2..10c1af9e19a 100644
--- a/java/org/gnu/emacs/EmacsView.java
+++ b/java/org/gnu/emacs/EmacsView.java
@@ -574,7 +574,8 @@ public final class EmacsView extends ViewGroup
574 bitmapDirty = true; 574 bitmapDirty = true;
575 575
576 /* Now expose the view contents again. */ 576 /* Now expose the view contents again. */
577 EmacsNative.sendExpose (this.window.handle, 0, 0, 0, 0); 577 EmacsNative.sendExpose (this.window.handle, 0, 0,
578 measuredWidth, measuredHeight);
578 579
579 super.onAttachedToWindow (); 580 super.onAttachedToWindow ();
580 } 581 }