Merge branch 'fix_broken_paste' of https://github.com/Luflosi/kitty
Fixes #2008
This commit is contained in:
commit
d37e73db54
1 changed files with 1 additions and 1 deletions
2
glfw/x11_window.c
vendored
2
glfw/x11_window.c
vendored
|
|
@ -897,7 +897,7 @@ static const char* getSelectionString(Atom selection)
|
|||
¬ification))
|
||||
{
|
||||
monotonic_t time = glfwGetTime();
|
||||
if (time - start > 2ll)
|
||||
if (time - start > s_to_monotonic_t(2ll))
|
||||
return "";
|
||||
waitForX11Event(s_to_monotonic_t(2ll) - (time - start));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue