diff options
| author | Federico Angelilli <code@fedang.net> | 2023-11-15 16:31:29 +0100 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2023-11-15 16:31:29 +0100 |
| commit | b6537b2969450aa6ce2631ecbf3c340dd2e2c23a (patch) | |
| tree | f2ecb2fbd095f1a1033c8fcced181fbbc0088bb2 /comet.c | |
| parent | 36fb2b942a08d58290b1d6ea1aec6d01f8e096b7 (diff) | |
Provide temporary fix for x shape mismatch (antialiasing)
Diffstat (limited to 'comet.c')
| -rw-r--r-- | comet.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -5,11 +5,9 @@ #include "log.h" #include "draw.h" - GMainLoop *mainloop = NULL; - static gboolean mainloop_quit(gpointer data) { - g_main_loop_quit(mainloop); + g_main_loop_quit(data); return G_SOURCE_CONTINUE; } @@ -23,7 +21,7 @@ int main(int argc, char **argv) { log_init(G_LOG_LEVEL_DEBUG); - mainloop = g_main_loop_new(g_main_context_default(), FALSE); + GMainLoop *mainloop = g_main_loop_new(NULL, FALSE); Window *win = window_create(); |
