Open kisasexypantera94 opened 2 years ago
It fixed the problem:
auto cfwindowname = static_cast<CFStringRef>(CFDictionaryGetValue(dict, kCGWindowName));
if (not cfwindowname)
{
continue;
}
Could this be the solution?
If a window gets closed the application should handle this gracefully. do a PR on it!
I am trying to capture window output on macOS:
However when I am dragging windows (three finger up gesture) it crashes with segfault.
I tried debugging but with lldb it immediately crashes even without dragging: