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

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

[elpa] externals/posframe 234a0f5de9 1/2: Fix: tty-child-frames support


From: ELPA Syncer
Subject: [elpa] externals/posframe 234a0f5de9 1/2: Fix: tty-child-frames support makes the undecorated set to nil even on graphic frame #144
Date: Mon, 2 Dec 2024 09:59:04 -0500 (EST)

branch: externals/posframe
commit 234a0f5de998fbbf4e1fd6fb4033e76f8c97f713
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>

    Fix: tty-child-frames support makes the undecorated set to nil even on 
graphic frame #144
---
 posframe.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/posframe.el b/posframe.el
index 0ec9a01adc..b99bc98842 100644
--- a/posframe.el
+++ b/posframe.el
@@ -702,8 +702,9 @@ ACCEPT-FOCUS."
                        (unsplittable . t)
                        (no-other-frame . t)
                        ;; NOTE: TTY child frame use undecorated to control 
border.
-                       (undecorated . ,(not (and (> border-width 0)
-                                                 (featurep 
'tty-child-frames))))
+                       (undecorated . ,(or (display-graphic-p)
+                                           (not (and (> border-width 0)
+                                                     (featurep 
'tty-child-frames)))))
                        (visibility . nil)
                        (cursor-type . nil)
                        (tty-non-selected-cursor . ,tty-non-selected-cursor)



reply via email to

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