about summary refs log tree commit diff
path: root/exwm-core.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2016-07-19T02·24+0800
committerChris Feng <chris.w.feng@gmail.com>2016-07-19T02·24+0800
commit73d890aad4e06cc722a00ed40532a7df07a83550 (patch)
tree257bb905d59af3253d23461fb6e998a57ba5b68a /exwm-core.el
parentd0797d03ded13aff09211ea77c6b37cccaf6ff12 (diff)
Fix various minor issues
; Coding style fixes

* exwm-core.el (exwm-mode-menu exwm-mode-map):
Use `exwm-workspace--count'.
* exwm-workspace.el (exwm-workspace--set-fullscreen)
(exwm-workspace--on-focus-in, exwm-workspace--set-desktop):
Use `exwm-workspace--position'.

* exwm-workspace.el (exwm-workspace-swap, exwm-workspace-move):
Renamed from `exwm-workspace-swap-workspace' and
`exwm-workspace-move-workspace'.

* exwm-workspace.el (exwm-workspace--update-ewmh-props):
Update comments.

* exwm-workspace.el (exwm-workspace--switch-map-nth-prefix):
Fix a calculation.

* exwm-workspace.el (exwm-workspace-switch): Fix a potential timer
problem.

* exwm-workspace.el (exwm-workspace-swap, exwm-workspace-move)
(exwm-workspace--remove-frame-as-workspace): Update workspace and
clients involved.

* exwm-workspace.el (exwm-workspace--remove-frame-as-workspace):
Remove workspace first.
Diffstat (limited to 'exwm-core.el')
-rw-r--r--exwm-core.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/exwm-core.el b/exwm-core.el
index 70a759cde39a..fd26d2cdd3ac 100644
--- a/exwm-core.el
+++ b/exwm-core.el
@@ -205,7 +205,7 @@
                      (interactive)
                      (exwm-workspace-switch ,i))
                    (/= ,i exwm-workspace-current-index)])
-               (number-sequence 0 (1- exwm-workspace-number)))))))
+               (number-sequence 0 (1- (exwm-workspace--count))))))))
 
 (declare-function exwm-manage--kill-buffer-query-function "exwm-manage.el")