aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-02-17 22:05:12 -0500
committerSam Anthony <sam@samanthony.xyz>2025-02-17 22:05:12 -0500
commit849c32f17cbac2d8a6533fbef33ea087aa5da630 (patch)
tree0edea095e875a68c4edc232b7b8ff7e15a21fdd8
parentd486b461df3461e593d5311d05844be95de922a0 (diff)
downloadvolute-849c32f17cbac2d8a6533fbef33ea087aa5da630.zip
remove window title bar
-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);