mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-24 18:07:01 +00:00
...
This commit is contained in:
parent
2ef0391b08
commit
9bc288cd8e
1 changed files with 1 additions and 1 deletions
|
|
@ -309,10 +309,10 @@ void _glfwPollMonitorsNS(void)
|
|||
for (uint32_t i = 0; i < _glfw.monitorCount; i++)
|
||||
_glfw.monitors[i]->ns.screen = nil;
|
||||
|
||||
_GLFWmonitor** disconnected = NULL;
|
||||
uint32_t disconnectedCount = _glfw.monitorCount;
|
||||
if (disconnectedCount)
|
||||
{
|
||||
_GLFWmonitor** disconnected = NULL;
|
||||
disconnected = calloc(_glfw.monitorCount, sizeof(_GLFWmonitor*));
|
||||
memcpy(disconnected,
|
||||
_glfw.monitors,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue