diff options
Diffstat (limited to 'exwm.el')
-rw-r--r-- | exwm.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exwm.el b/exwm.el index 8a85002c4c27..ecce55c5968c 100644 --- a/exwm.el +++ b/exwm.el @@ -995,7 +995,7 @@ manager. If t, replace it, if nil, abort and ask the user if `ask'." "Confirm before killing terminal." ;; This is invoked instead of `save-buffers-kill-emacs' (C-x C-c) on client ;; frames. - (if (eq (frame-terminal) exwm--terminal) + (if (exwm--terminal-p) (exwm--confirm-kill-emacs "[EXWM] Kill terminal?") t)) |