branch: externals/corfu
commit 1f295484a4a7d3f8bea15dac2ae6aa336e6cf643
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>
corfu--make-frame: Fix EXWM check
---
corfu.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/corfu.el b/corfu.el
index b5d311cc9c..47a5ad2f62 100644
--- a/corfu.el
+++ b/corfu.el
@@ -482,7 +482,9 @@ FRAME is the existing frame."
(parent (window-frame)))
(unless (and (frame-live-p frame)
(eq (frame-parent frame)
- (and (not (bound-and-true-p exwm--connection)) parent))
+ (and (not (and (bound-and-true-p exwm--connection)
+ (display-graphic-p parent)))
+ parent))
;; Handle mixed tty/graphical sessions
(eq (display-graphic-p frame)
(display-graphic-p parent))