mirror of
https://github.com/emacs-exwm/exwm.git
synced 2024-11-23 21:17:59 +01:00
Avoid comparing X display names
* exwm-workspace.el (exwm-workspace--add-frame-as-workspace): An X display name set by XELB can be different from (but equivalent with) the one set by Emacs.
This commit is contained in:
parent
7a5bb1156d
commit
d4cfa564be
1 changed files with 2 additions and 2 deletions
|
@ -1164,8 +1164,8 @@ Please check `exwm-workspace--minibuffer-own-frame-p' first."
|
|||
(exwm--log "Frame `%s' is already a workspace" frame))
|
||||
((not (display-graphic-p frame))
|
||||
(exwm--log "Frame `%s' is not graphical" frame))
|
||||
((not (string-equal (slot-value exwm--connection 'display)
|
||||
(frame-parameter frame 'display)))
|
||||
((not (memq frame (frames-on-display-list (slot-value exwm--connection
|
||||
'display))))
|
||||
(exwm--log "Frame `%s' is on a different DISPLAY (%S instead of %S)"
|
||||
frame
|
||||
(frame-parameter frame 'display)
|
||||
|
|
Loading…
Reference in a new issue