mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 20:52:19 +00:00
...
This commit is contained in:
parent
6f147544d2
commit
7b2e29a6a8
1 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue