Merge branch 'fix_broken_paste' of https://github.com/Luflosi/kitty
Fixes #2008
This commit is contained in:
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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user