non-resizable window and always floating window

This commit is contained in:
2023-12-11 23:00:31 +02:00
committed by Illusion
parent ac2b73e35a
commit 04c039d64a
6 changed files with 39 additions and 5 deletions
+2 -1
View File
@@ -122,11 +122,12 @@ int main(int argc, char *argv[]) {
}
Color clear_color = {0.2f, 0.15f, 0.5f, 1.f};
int res = init_zephr(font_path, title, (Size){800, 600}, &clear_color);
int res = init_zephr(font_path, title, (Size){900, 900}, &clear_color);
if (res != 0) {
printf("[ERROR]: could not initialize zephr\n");
return 1;
}
make_window_non_resizable();
srand(time(NULL));