From a8f6615380246ab4581b103920dc92937b9233fa Mon Sep 17 00:00:00 2001 From: Luflosi Date: Sun, 29 Sep 2019 02:48:09 +0200 Subject: [PATCH] Fix broken paste on X11 Fixes https://github.com/kovidgoyal/kitty/issues/2008. --- glfw/x11_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glfw/x11_window.c b/glfw/x11_window.c index b1ca03981..815296fd8 100644 --- a/glfw/x11_window.c +++ b/glfw/x11_window.c @@ -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)); }