aboutsummaryrefslogtreecommitdiff
path: root/selection.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-08-05 17:33:01 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-08-05 17:33:01 +0000
commita82f12dd2bc80d692ce6e13b3521b942027ee7cf (patch)
tree2c77c70b5ab2b755bdd329f2bf09527c54ed1252 /selection.h
parentselection: mark-word using spaces only as word separator (diff)
input: use a timer fd to handle keyboard key repeat
Instead of running a repeater thread that writes the key to repeat over a pipe, use a simple timer fd. No more locking or condition signalling. No need to track start/stop/exist states. We simply set up the initial timeout value to be the 'delay', and the interval to be the repeat 'rate'.
Diffstat (limited to 'selection.h')
0 files changed, 0 insertions, 0 deletions