Skip to content

Commit

Permalink
disable window resizing
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixthrush authored Jun 11, 2024
1 parent 61ee179 commit b02b576
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine,
int main() {
#endif
webview_t w = webview_create(0, NULL);
webview_set_size(w, 350, 500, WEBVIEW_HINT_NONE);
webview_set_size(w, 350, 500, WEBVIEW_HINT_FIXED);
webview_set_html(w, (const char *)site_index_html);
webview_run(w);
webview_destroy(w);
return 0;
}
}

0 comments on commit b02b576

Please sign in to comment.