* java/org/gnu/emacs/EmacsWindow.java (requestViewLayout): If an
override redirect window, additionally notify the window manager
of layout changes.
(cherry picked from commit
e97be722d392056b6ef9e47664273ee2ca7df374)
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 ();