mirror of
https://github.com/SqrtMinusOne/perspective-exwm.el.git
synced 2025-12-10 20:53:03 +03:00
fix: wrap exwm-workspace-switch in exwm--defer
This commit is contained in:
parent
8afdbf894a
commit
c320f0967d
1 changed files with 4 additions and 2 deletions
|
|
@ -199,8 +199,10 @@ detail."
|
||||||
persp-name))
|
persp-name))
|
||||||
(cons i persp-name))))))
|
(cons i persp-name))))))
|
||||||
(choice (cdr (assoc (completing-read "Select a perspective: " choices) choices))))
|
(choice (cdr (assoc (completing-read "Select a perspective: " choices) choices))))
|
||||||
|
(exwm--defer
|
||||||
|
0 (lambda ()
|
||||||
(exwm-workspace-switch (car choice))
|
(exwm-workspace-switch (car choice))
|
||||||
(persp-switch (cdr choice))))
|
(persp-switch (cdr choice))))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun perspective-exwm-copy-to-workspace (&optional move)
|
(defun perspective-exwm-copy-to-workspace (&optional move)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue