]> git.eshelyaron.com Git - emacs.git/commitdiff
Update Android port
authorPo Lu <luangruo@yahoo.com>
Sat, 18 Mar 2023 12:05:38 +0000 (20:05 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 18 Mar 2023 12:05:38 +0000 (20:05 +0800)
* java/org/gnu/emacs/EmacsView.java (onAttachedToWindow): Send
measured width and height in exposures again.

java/org/gnu/emacs/EmacsView.java

index 88d17a255a27459599ae454e4a5a8a9c413dc6f4..10c1af9e19a3ca98f53fbeaccf784334faa1ad39 100644 (file)
@@ -574,7 +574,8 @@ public final class EmacsView extends ViewGroup
     bitmapDirty = true;
 
     /* Now expose the view contents again.  */
-    EmacsNative.sendExpose (this.window.handle, 0, 0, 0, 0);
+    EmacsNative.sendExpose (this.window.handle, 0, 0,
+                           measuredWidth, measuredHeight);
 
     super.onAttachedToWindow ();
   }