0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-11 13:09:18 +00:00
termux-packages/x11-packages/florence/src-controller.c.patch
2023-04-12 23:32:49 +09:00

20 lines
421 B
Diff

--- a/src/controller.c
+++ b/src/controller.c
@@ -24,6 +24,7 @@
#include "settings.h"
#include "tools.h"
#include "lib/florence.h"
+#include <sys/wait.h>
#include <cairo-xlib.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
@@ -46,7 +47,7 @@
cairo_paint(context);
cairo_set_operator(context, CAIRO_OPERATOR_SOURCE);
style_render_svg(context, handle, w, h, FALSE, NULL);
- wait();
+ wait(NULL);
END_FUNC
}