summaryrefslogtreecommitdiff
path: root/src/main/ui/x11/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/ui/x11/ui.c')
-rw-r--r--src/main/ui/x11/ui.c4
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);