Merge branch 'fix_broken_paste' of https://github.com/Luflosi/kitty

Fixes #2008
This commit is contained in:
Kovid Goyal 2019-09-29 08:02:31 +05:30
commit d37e73db54
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

2
glfw/x11_window.c vendored
View file

@ -897,7 +897,7 @@ static const char* getSelectionString(Atom selection)
&notification))
{
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));
}