diff options
author | Adrián Medraño Calvo <adrian@medranocalvo.com> | 2020-04-15T00·00+0000 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-09-16T11·33+0000 |
commit | c6ad2b638e0b3340b11561beb8f6c49a2604e693 (patch) | |
tree | f7ede9740e4baaf7354913415e175e7360594b91 /third_party/exwm/exwm-input.el | |
parent | e74f12f85b0f83d413da13b9a9f295a35eec399f (diff) |
refactor(3p/exwm): Remove `exwm-input--skip-buffer-list-update' r/2875
* exwm-input.el: (exwm-input--on-buffer-list-update): Stop checking `exwm-input--skip-buffer-list-update'; it's no longer needed now that we keep track of the last selected window and buffer. (exwm-input--skip-buffer-list-update): Remove variable. * exwm-manage.el (exwm-manage--manage-window): Remove binding of `exwm-input--skip-buffer-list-update'. Imported from https://github.com/ch11ng/exwm/pull/737 Change-Id: Iacbdb8b607a82352e5b55509b0aba93f1d87a9f2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3562 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'third_party/exwm/exwm-input.el')
-rw-r--r-- | third_party/exwm/exwm-input.el | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/third_party/exwm/exwm-input.el b/third_party/exwm/exwm-input.el index 1120e81eba26..6506597cfe0d 100644 --- a/third_party/exwm/exwm-input.el +++ b/third_party/exwm/exwm-input.el @@ -117,9 +117,6 @@ defined in `exwm-mode-map' here." (defvar exwm-input--simulation-keys nil "Simulation keys in line-mode.") -(defvar exwm-input--skip-buffer-list-update nil - "Skip the upcoming 'buffer-list-update'.") - (defvar exwm-input--temp-line-mode nil "Non-nil indicates it's in temporary line-mode for char-mode.") @@ -315,7 +312,6 @@ ARGS are additional arguments to CALLBACK." (let* ((win (selected-window)) (buf (window-buffer win))) (when (and (not (exwm-workspace--client-p)) - (not exwm-input--skip-buffer-list-update) (not (and (eq exwm-input--update-focus-window win) (eq exwm-input--update-focus-window-buffer buf)))) (exwm--log "selected-window=%S current-buffer=%S" win buf) |