aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 3a90419..83370f2 100644
--- a/main.c
+++ b/main.c
@@ -99,8 +99,8 @@ main_window(mu_Context *ctx, UI *ui) {
int w, h;
r_get_window_size(&w, &h);
- if (!mu_begin_window(ctx, TITLE, mu_rect(0, 0, w, h))) {
- exit(EXIT_SUCCESS);
+ if (!mu_begin_window_ex(ctx, TITLE, mu_rect(0, 0, w, h), MU_OPT_NOINTERACT | MU_OPT_NOTITLE)) {
+ exit(EXIT_FAILURE);
}
/* TODO */
mu_layout_row(ctx, 2, (int[]) {0, 0}, 0);