From 11e0b70d1f6f950697e8f9c330efbb4272938af5 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Tue, 18 Jun 2024 15:53:18 +0800 Subject: [PATCH] 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) --- java/org/gnu/emacs/EmacsWindow.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (), -- 2.39.2