branch: externals/posframe
commit 5dfb91d3ed7957a78973e3fa899d385c3efe4975
Author: Feng Shu <tuma...@163.com>
Commit: Feng Shu <tuma...@163.com>

    Do not show message when x-get-resize-child-frames non-nil
---
 posframe.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/posframe.el b/posframe.el
index 655c6ef..32aded0 100644
--- a/posframe.el
+++ b/posframe.el
@@ -1078,7 +1078,8 @@ bottom center.  The structure of INFO can be found in 
docstring of
 
 (defvar x-gtk-resize-child-frames)
 (when (and (string-match-p "GTK3" system-configuration-features)
-           (member (getenv "XDG_CURRENT_DESKTOP") '("GNOME")))
+           (member (getenv "XDG_CURRENT_DESKTOP") '("GNOME"))
+           x-gtk-resize-child-frames)
   (if (> emacs-major-version 26)
       (message "Posframe: GNOME+GTK3 may need to set variable 
`x-gtk-resize-child-frames' to 'resize-mode or 'hide.")
     (message "Posframe: GNOME+GTK3 have resize bug: 
https://lists.gnu.org/archive/html/emacs-devel/2020-01/msg00343.html";)))

Reply via email to