diff options
author | Chris Feng <chris.w.feng@gmail.com> | 2015-10-25T06·51+0800 |
---|---|---|
committer | Chris Feng <chris.w.feng@gmail.com> | 2015-10-25T06·51+0800 |
commit | e8bc51280dba18dc394e15dd544e70ad27176f82 (patch) | |
tree | ebc12001cf040584bed3ec8d5aaa77e86511151c /exwm-core.el | |
parent | 463d0da41139ccf48c9c0c9522c93041769dfcdb (diff) |
Fix workspace switch issues
* exwm-core.el (exwm--make-emacs-idle-for): Removed. * exwm-workspace.el (exwm-workspace--switch-count): New variable. (exwm-workspace-switch): Increase exwm-workspace--switch-count when necessary; Remove the call to exwm--make-emacs-idle-for. (exwm-workspace--on-focus-in): Consume exwm-workspace--switch-count. * exwm-workspace.el (exwm-workspace--on-focus-in): Close active minibuffer.
Diffstat (limited to 'exwm-core.el')
-rw-r--r-- | exwm-core.el | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/exwm-core.el b/exwm-core.el index 1ac867865988..ec7034737a0f 100644 --- a/exwm-core.el +++ b/exwm-core.el @@ -38,10 +38,6 @@ (when exwm-debug-on `(message (concat "[EXWM] " ,format-string) ,@args))) -(defun exwm--make-emacs-idle-for (seconds) - "Put Emacs in idle state for SECONDS seconds." - (with-timeout (seconds) (read-event))) - (defvar exwm--connection nil "X connection.") (defvar exwm--root nil "Root window.") (defvar exwm--id-buffer-alist nil "Alist of (<X window ID> . <Emacs buffer>).") |