From 7b2e29a6a8fc1eb1289eba4a8022a4620e3edb9b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 10 Sep 2022 07:52:26 +0530 Subject: [PATCH] ... --- kitty/glfw.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kitty/glfw.c b/kitty/glfw.c index 761adaf4d..791e2b14d 100644 --- a/kitty/glfw.c +++ b/kitty/glfw.c @@ -1373,10 +1373,10 @@ wakeup_main_loop() { bool should_os_window_be_rendered(OSWindow* w) { return ( - glfwGetWindowAttrib(w->handle, GLFW_ICONIFIED) || - !glfwGetWindowAttrib(w->handle, GLFW_VISIBLE) || - glfwGetWindowAttrib(w->handle, GLFW_OCCLUDED) || - !glfwAreSwapsAllowed(w->handle) + glfwGetWindowAttrib(w->handle, GLFW_ICONIFIED) + || !glfwGetWindowAttrib(w->handle, GLFW_VISIBLE) + || glfwGetWindowAttrib(w->handle, GLFW_OCCLUDED) + || !glfwAreSwapsAllowed(w->handle) ) ? false : true; }