]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix window class of Android tooltips
authorPo Lu <luangruo@yahoo.com>
Tue, 18 Jun 2024 07:53:18 +0000 (15:53 +0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 19 Jun 2024 08:42:25 +0000 (10:42 +0200)
* java/org/gnu/emacs/EmacsWindow.java (getWindowLayoutParams):
Declare as a panel, rather than an attached dialog.

(cherry picked from commit fb04a51894874aba3f9981723981ca336ba5ff77)

java/org/gnu/emacs/EmacsWindow.java

index 60036ad305ead9a7efdcc0fe146e1b4df48d9926..1316abfc687e71b19333d7d37d3463af0600ed3d 100644 (file)
@@ -396,7 +396,7 @@ public final class EmacsWindow extends EmacsHandleObject
     rect = getGeometry ();
     flags |= WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE;
     flags |= WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE;
-    type = WindowManager.LayoutParams.TYPE_APPLICATION_ATTACHED_DIALOG;
+    type = WindowManager.LayoutParams.TYPE_APPLICATION_PANEL;
 
     params
       = new WindowManager.LayoutParams (rect.width (), rect.height (),