nyyManni / dmenu-wayland

dmenu for wayland-compositors
MIT License
197 stars 22 forks source link

Implement key repeat #18

Closed mortie closed 4 years ago

mortie commented 4 years ago

This changes the old while (wl_display_flush(...)); style event loop to a loop which uses poll to watch two different file descriptors; the wayland display FD and a new timer FD. The timer FD is used for key repeat.

This closes (the key repeat part of) https://github.com/nyyManni/dmenu-wayland/issues/10.