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; }