diff options
| author | Po Lu <luangruo@yahoo.com> | 2025-02-19 15:36:08 +0800 |
|---|---|---|
| committer | Po Lu <luangruo@yahoo.com> | 2025-02-19 15:36:08 +0800 |
| commit | 4fb5ff5426a994aa139614639f60333fd07c06b4 (patch) | |
| tree | aac938ceeda9181ef10f97e3ae4b5c892438cf65 /java | |
| parent | 1194ebe3a71f97b0ce7c8dcc4edaf7b0f81fdc6f (diff) | |
| parent | e97be722d392056b6ef9e47664273ee2ca7df374 (diff) | |
Merge from savannah/emacs-30
e97be722d39 Properly move existing tooltips on Android
0cf3d341522 ; * ChangeLog.4: Reformat down to 28 March 2024.
ccaa0be8e71 ; * ChangeLog.4: Check in ommitted change.
b5410cbea2e ; * ChangeLog.4: Fix log entries down to the 1 May 2024.
be7625cae73 ; Fix typos
d447cd9fcc0 ; * ChangeLog.4: Update.
5dc2a573750 ; * admin/authors.el (authors-ignored-files): Ignore gnus...
Diffstat (limited to 'java')
| -rw-r--r-- | java/org/gnu/emacs/EmacsWindow.java | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/java/org/gnu/emacs/EmacsWindow.java b/java/org/gnu/emacs/EmacsWindow.java index fec95526835..2f4e378fb78 100644 --- a/java/org/gnu/emacs/EmacsWindow.java +++ b/java/org/gnu/emacs/EmacsWindow.java @@ -365,8 +365,17 @@ public final class EmacsWindow extends EmacsHandleObject run () { if (overrideRedirect) - /* Set the layout parameters again. */ - view.setLayoutParams (getWindowLayoutParams ()); + { + WindowManager.LayoutParams params; + + /* Set the layout parameters again. */ + params = getWindowLayoutParams (); + view.setLayoutParams (params); + + /* Announce this update to the window server. */ + if (windowManager != null) + windowManager.updateViewLayout (view, params); + } view.mustReportLayout = true; view.requestLayout (); |
