From 22c7239f40ec57dea15ed6a6331b890a8770c3fc Mon Sep 17 00:00:00 2001 From: Urbano Ustero Date: Wed, 26 Aug 2015 00:41:32 +0200 Subject: [PATCH] No longer need to fill initial workspace list Users are free to create as many as they like by hitting 'C-x 5 2' or running `make-frame'. --- exwm-workspace.el | 5 ----- 1 file changed, 5 deletions(-) diff --git a/exwm-workspace.el b/exwm-workspace.el index e6c7c96..ce42b3d 100644 --- a/exwm-workspace.el +++ b/exwm-workspace.el @@ -302,11 +302,6 @@ The optional FORCE option is for internal use only." (cl-assert (= 1 (exwm-workspace--count))) ;; Prevent user from deleting this frame by accident (set-frame-parameter (car exwm-workspace--list) 'client nil)) - ;; Create remaining frames - (dotimes (i (1- exwm-workspace-number)) - (nconc exwm-workspace--list - (list (make-frame '((window-system . x) - (visibility . nil)))))) ;; Configure workspaces (dolist (i exwm-workspace--list) (exwm-workspace--add-frame-as-workspace i))