diff options
author | Steven Allen <steven@stebalien.com> | 2024-02-05T15·32-0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-05T15·32-0800 |
commit | a6e66f5e339473105d83dd4e7e3f3db9b1aa9f0f (patch) | |
tree | 494a33e00b8870ca490ad83a377aeebfbb9e6dce /third_party/exwm/exwm-background.el | |
parent | 44e74bcc07f6ab2f985bcce12d68dccb943475cf (diff) |
Simplify and improve focus handling (#10)
Combine both focus update timers into one and ignore windows in "no focus" frames. * exwm-input.el (exwm-input--on-buffer-list-update): Avoid focusing windows in frames with the `no-accept-focus` frame property. (exwm-input--update-focus-defer-timer): Remove the duplicate timer. (exwm-input--update-focus-defer): Use a single `exwm-input--update-focus-timer`. (exwm-input--update-focus-commit): Read `exwm-input--update-focus-window` instead of taking a window as a parameter (this is what lets us combine the timers). (exwm-input--update-focus-commit): Use a let-bind instead of unwind-protect. (exwm-input--exit): Remove references to `exwm-input--update-focus-defer-timer`.
Diffstat (limited to 'third_party/exwm/exwm-background.el')
0 files changed, 0 insertions, 0 deletions