diff options
author | Chris Feng <chris.w.feng@gmail.com> | 2018-02-20T13·57+0800 |
---|---|---|
committer | Chris Feng <chris.w.feng@gmail.com> | 2018-02-20T13·57+0800 |
commit | 7d4c57a6abc6bc724beaffb9d4f91971f9a62426 (patch) | |
tree | 98053017cb97fd63827069692fcc1e0a1721917d /exwm-randr.el | |
parent | 5c5729c0d4832a870a928d6d7cc2f990a7e8f649 (diff) |
Add Customize interface for simulation keys
* exwm-input.el (exwm-input-simulation-keys): New user option for setting simulation keys. (exwm-input--init): Initialize simulation keys from this variable. * exwm-input.el (exwm-input--simulation-prefix-keys) (exwm-input--on-KeyPress-line-mode) (exwm-input--update-simulation-prefix-keys) (exwm-input-set-simulation-keys, exwm-input-set-local-simulation-keys) (exwm-input-send-simulation-key): `exwm-input--simulation-keys' is now a hash table storing both simulation keys and prefix keys. (exwm-input--unset-simulation-keys): Clear the hash table. (exwm-input--exit): Use `exwm-input--unset-simulation-keys'. * exwm-core.el (exwm--kmacro-map, exwm-mode-menu): Adapt to the change of `exwm-input--simulation-keys'. * exwm-config.el (exwm-config-default): Update the example.
Diffstat (limited to 'exwm-randr.el')
0 files changed, 0 insertions, 0 deletions