mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
Properly move existing tooltips on Android
* java/org/gnu/emacs/EmacsWindow.java (requestViewLayout): If an override redirect window, additionally notify the window manager of layout changes.
This commit is contained in:
parent
0cf3d34152
commit
e97be722d3
1 changed files with 11 additions and 2 deletions
|
|
@ -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 ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue