summaryrefslogtreecommitdiff
path: root/corfu.el
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2025-12-04 16:32:02 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2025-12-04 16:33:36 +0100
commit1f295484a4a7d3f8bea15dac2ae6aa336e6cf643 (patch)
tree05149266a3298fd7d44795b54220e23aae9b68fd /corfu.el
parent9d5fc8f4898cb6d89b17547b9ac0781f91713042 (diff)
corfu--make-frame: Fix EXWM check
Diffstat (limited to 'corfu.el')
-rw-r--r--corfu.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/corfu.el b/corfu.el
index b5d311c..47a5ad2 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))