diff options
author | Chris Feng <chris.w.feng@gmail.com> | 2015-10-26T04·38+0800 |
---|---|---|
committer | Chris Feng <chris.w.feng@gmail.com> | 2015-10-26T04·38+0800 |
commit | d05df51b0563b385da46384901c73daa073c28b9 (patch) | |
tree | 8bd92d6f60e2345e833185d4afb92d8876bf5d64 /exwm-floating.el | |
parent | e8bc51280dba18dc394e15dd544e70ad27176f82 (diff) |
Fix problems introduced/exposed by last commit
* exwm-workspace.el (exwm-workspace-switch, exwm-workspace--on-focus-in): Use handle-switch-frame instead of exwm-workspace--switch-count to filter out events. * exwm-workspace.el (exwm-workspace--init): Delay making workspaces fullscreen. * exwm-workspace.el (exwm-workspace-move-window): * exwm-floating.el (exwm-floating--set-floating): * exwm-layout.el (exwm-layout--refresh): `set-buffer-major-mode` does not accept buffer names.
Diffstat (limited to 'exwm-floating.el')
-rw-r--r-- | exwm-floating.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/exwm-floating.el b/exwm-floating.el index f408cc16b6cb..408cf372dcbf 100644 --- a/exwm-floating.el +++ b/exwm-floating.el @@ -69,8 +69,10 @@ ;; Create new frame (frame (with-current-buffer (or (get-buffer "*scratch*") - (prog1 (get-buffer-create "*scratch*") - (set-buffer-major-mode "*scratch*"))) + (progn + (set-buffer-major-mode + (get-buffer-create "*scratch*")) + (get-buffer "*scratch*"))) (prog2 (exwm--lock) (make-frame |