diff options
| author | Po Lu | 2025-02-19 15:36:08 +0800 |
|---|---|---|
| committer | Po Lu | 2025-02-19 15:36:08 +0800 |
| commit | 4fb5ff5426a994aa139614639f60333fd07c06b4 (patch) | |
| tree | aac938ceeda9181ef10f97e3ae4b5c892438cf65 /java | |
| parent | 1194ebe3a71f97b0ce7c8dcc4edaf7b0f81fdc6f (diff) | |
| parent | e97be722d392056b6ef9e47664273ee2ca7df374 (diff) | |
| download | emacs-4fb5ff5426a994aa139614639f60333fd07c06b4.tar.gz emacs-4fb5ff5426a994aa139614639f60333fd07c06b4.zip | |
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 | |||
| 365 | run () | 365 | run () |
| 366 | { | 366 | { |
| 367 | if (overrideRedirect) | 367 | if (overrideRedirect) |
| 368 | /* Set the layout parameters again. */ | 368 | { |
| 369 | view.setLayoutParams (getWindowLayoutParams ()); | 369 | WindowManager.LayoutParams params; |
| 370 | |||
| 371 | /* Set the layout parameters again. */ | ||
| 372 | params = getWindowLayoutParams (); | ||
| 373 | view.setLayoutParams (params); | ||
| 374 | |||
| 375 | /* Announce this update to the window server. */ | ||
| 376 | if (windowManager != null) | ||
| 377 | windowManager.updateViewLayout (view, params); | ||
| 378 | } | ||
| 370 | 379 | ||
| 371 | view.mustReportLayout = true; | 380 | view.mustReportLayout = true; |
| 372 | view.requestLayout (); | 381 | view.requestLayout (); |