emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/posframe 05539c1 02/16: Note user when run gnome+gtk3


From: Feng Shu
Subject: [elpa] externals/posframe 05539c1 02/16: Note user when run gnome+gtk3
Date: Thu, 21 May 2020 00:57:30 -0400 (EDT)

branch: externals/posframe
commit 05539c1fb80168cb7b96d1222182d133823e7485
Author: Feng Shu <address@hidden>
Commit: Feng Shu <address@hidden>

    Note user when run gnome+gtk3
---
 posframe.el | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/posframe.el b/posframe.el
index e126201..655c6ef 100644
--- a/posframe.el
+++ b/posframe.el
@@ -1076,6 +1076,13 @@ bottom center.  The structure of INFO can be found in 
docstring of
           (+ window-top window-height
              (- 0 mode-line-height posframe-height)))))
 
+(defvar x-gtk-resize-child-frames)
+(when (and (string-match-p "GTK3" system-configuration-features)
+           (member (getenv "XDG_CURRENT_DESKTOP") '("GNOME")))
+  (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";)))
+
 (provide 'posframe)
 
 ;;; posframe.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]