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 @@ private static class Coordinate
|
|||
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
Reference in a new issue