C++, BYE BYE!! BYE BYE!!!

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-08-10 06:38:23 +03:00
parent d154db1422
commit 4e23877697
14 changed files with 2049 additions and 3901 deletions

16
src/main.c Normal file
View File

@@ -0,0 +1,16 @@
#include <assert.h>
#include <signal.h>
#include "LunarWM.h"
LunarWM g_wm = {};
void sigint_handler(int) { LunarWM_terminate(&g_wm); }
int main(void)
{
assert(LunarWM_init(&g_wm));
signal(SIGINT, sigint_handler);
LunarWM_run(&g_wm);
LunarWM_destroy(&g_wm);
}