We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a45817 commit b7cd07cCopy full SHA for b7cd07c
1 file changed
src/webui.c
@@ -2819,7 +2819,8 @@ void* webui_get_native_window_handle_wv(size_t window)
2819
_webui_window_t* win = _webui.wins[window];
2820
2821
if (_webui.is_webview) {
2822
- return win->webView->gtk_win;
+ if (win->webView) // prevent sigsegfault when standard browser is used
2823
+ return win->webView->gtk_win;
2824
}
2825
2826
return NULL;
0 commit comments