mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 16:37:27 +00:00
...
This commit is contained in:
parent
16008b950a
commit
3b78fd646e
1 changed files with 2 additions and 1 deletions
3
glfw/backend_utils.c
vendored
3
glfw/backend_utils.c
vendored
|
|
@ -261,9 +261,10 @@ initPollData(EventLoopData *eld, int display_fd) {
|
|||
if (pipe2(eld->key_repeat_fds, O_CLOEXEC | O_NONBLOCK) != 0) return false;
|
||||
const int key_repeat_fd = eld->key_repeat_fds[0];
|
||||
#endif
|
||||
(void)key_repeat_fd; (void)mark_key_repeat_fd_ready;
|
||||
#ifdef _GLFW_WAYLAND
|
||||
if (!addWatch(eld, "key_repeat", key_repeat_fd, POLLIN, 1, mark_key_repeat_fd_ready, eld)) return false;
|
||||
#else
|
||||
(void)key_repeat_fd; (void)mark_key_repeat_fd_ready;
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue