diff options
author | 2025-05-17 00:52:18 +0200 | |
---|---|---|
committer | 2025-05-17 00:52:18 +0200 | |
commit | 531d4aa9f18548a8936228d8aef400d7da10ffd5 (patch) | |
tree | 8a40b2bb95ac8a1aabc9b8c1d00654e6a1e3dc04 /src/main/ui/x11/ui.c | |
parent | 41d2026f05527a73c4521e1a153848242ecf0b1a (diff) | |
download | tris-531d4aa9f18548a8936228d8aef400d7da10ffd5.tar.gz tris-531d4aa9f18548a8936228d8aef400d7da10ffd5.zip |
Remove draw_frame from expose event
Diffstat (limited to 'src/main/ui/x11/ui.c')
-rw-r--r-- | src/main/ui/x11/ui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/ui/x11/ui.c b/src/main/ui/x11/ui.c index 1dac2b7..c6faaaf 100644 --- a/src/main/ui/x11/ui.c +++ b/src/main/ui/x11/ui.c @@ -106,7 +106,7 @@ ui_init(int width, int height) } static void -ui_on_expose(XEvent event, void (*draw_frame)()) +ui_on_expose(XEvent event) { if (event.type != Expose) return; } @@ -131,7 +131,7 @@ ui_loop(void (*draw_frame)()) XEvent event; while (!close_window) { XNextEvent(display, &event); - ui_on_expose(event, draw_frame); + ui_on_expose(event); ui_on_resize(event); ui_on_keypress(event); |