From: Po Lu Date: Tue, 18 Jun 2024 07:53:18 +0000 (+0800) Subject: Fix window class of Android tooltips X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=11e0b70d1f6f950697e8f9c330efbb4272938af5;p=emacs.git Fix window class of Android tooltips * java/org/gnu/emacs/EmacsWindow.java (getWindowLayoutParams): Declare as a panel, rather than an attached dialog. (cherry picked from commit fb04a51894874aba3f9981723981ca336ba5ff77) --- diff --git a/java/org/gnu/emacs/EmacsWindow.java b/java/org/gnu/emacs/EmacsWindow.java index 60036ad305e..1316abfc687 100644 --- a/java/org/gnu/emacs/EmacsWindow.java +++ b/java/org/gnu/emacs/EmacsWindow.java @@ -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 (),