mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
Once a window is invalid gl-x11::get_window_geometry will return 0 so just check if the returned geometry is a valid pointer before trying to get its width/height.