mirror of
https://github.com/ch11ng/exwm.git
synced 2024-11-27 13:07:59 +01:00
; Improve messages for automatically created workspaces
This commit is contained in:
parent
ccc4cce0e0
commit
5fbf20ba16
1 changed files with 4 additions and 2 deletions
|
@ -1338,8 +1338,10 @@ Please check `exwm-workspace--minibuffer-own-frame-p' first."
|
||||||
(exwm-workspace--update-ewmh-props)
|
(exwm-workspace--update-ewmh-props)
|
||||||
(if exwm-workspace--create-silently
|
(if exwm-workspace--create-silently
|
||||||
(setq exwm-workspace--switch-history-outdated t)
|
(setq exwm-workspace--switch-history-outdated t)
|
||||||
|
(let ((original-index exwm-workspace-current-index))
|
||||||
(exwm-workspace-switch frame t)
|
(exwm-workspace-switch frame t)
|
||||||
(message "Added %s as workspace %d" frame exwm-workspace-current-index)
|
(message "Created %s as workspace %d; switched from %d"
|
||||||
|
frame exwm-workspace-current-index original-index))
|
||||||
(run-hooks 'exwm-workspace-list-change-hook)))
|
(run-hooks 'exwm-workspace-list-change-hook)))
|
||||||
|
|
||||||
(defun exwm-workspace--get-remove-frame-next-workspace (frame)
|
(defun exwm-workspace--get-remove-frame-next-workspace (frame)
|
||||||
|
|
Loading…
Reference in a new issue