mirror of
https://github.com/emacs-exwm/exwm.git
synced 2024-11-30 16:07:59 +01:00
parent
15ad591d97
commit
43b00d2f0f
1 changed files with 4 additions and 2 deletions
|
@ -171,9 +171,11 @@ The optional FORCE option is for internal use only."
|
|||
(with-current-buffer (exwm--id->buffer id)
|
||||
(let ((frame (elt exwm-workspace--list index)))
|
||||
(when (not (equal exwm--frame frame))
|
||||
(let ((name (replace-regexp-in-string "^\\s-*" "" (buffer-name))))
|
||||
(exwm-workspace-rename-buffer (if (= index exwm-workspace-current-index)
|
||||
name
|
||||
(concat " " name))))
|
||||
(setq exwm--frame frame)
|
||||
(exwm-workspace-rename-buffer
|
||||
(concat " " (replace-regexp-in-string "^\\s-*" "" (buffer-name))))
|
||||
(if exwm--floating-frame
|
||||
;; Move the floating frame is enough
|
||||
(progn
|
||||
|
|
Loading…
Reference in a new issue