branch: externals/posframe commit 05539c1fb80168cb7b96d1222182d133823e7485 Author: Feng Shu <tuma...@163.com> Commit: Feng Shu <tuma...@163.com>
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