You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
887 B

Do not call the undeclared wait function. Part of this upstream
commit:
commit d1bc2d6b932d6f09a34d391a7e1f56ff1d622e0e
Author: François Agrech <f.agrech@gmail.com>
Date: Wed Nov 5 08:26:54 2014 +0100
Use pango instead of cairo toy text api.
This fixes a regression on previous fallback font patch.
diff --git a/src/controller.c b/src/controller.c
index a0754993fa0a42e9..686146f2e29f4fff 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -28,6 +28,7 @@
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/extensions/shape.h>
+#include <sys/wait.h>
#define MOVING_THRESHOLD 15
@@ -46,7 +47,7 @@ void controller_icon_expose (GtkWidget *window, cairo_t* context, void *userdata
cairo_paint(context);
cairo_set_operator(context, CAIRO_OPERATOR_SOURCE);
style_render_svg(context, handle, w, h, FALSE, NULL);
- wait();
+ wait(NULL);
END_FUNC
}