]> Dogcows Code - chaz/tint2/blobdiff - src/util/common.h
*fix* execute an external command by calling fork/execl and do not ignore SIGCHLD...
[chaz/tint2] / src / util / common.h
index eb53f4f2a5d71794b5c77a89b4df0bcb73d62abf..e85af7e099bd690970597d13326888cd571b5cd5 100644 (file)
@@ -34,28 +34,16 @@ enum { NONE=0, CLOSE, TOGGLE, ICONIFY, SHADE, TOGGLE_ICONIFY, MAXIMIZE_RESTORE,
 #define ALLDESKTOP  0xFFFFFFFF
 
 
-typedef struct config_border
-{
-       double color[3];
-       double alpha;
-       int width;
-       int rounded;
-} config_border;
-
-
-typedef struct config_color
-{
-       double color[3];
-       double alpha;
-} config_color;
-
-
 // copy file source to file dest
 void copy_file(const char *pathSrc, const char *pathDest);
 
 // extract key = value
 int parse_line (const char *line, char **key, char **value);
 
+// execute a command by calling fork
+void tint_exec(const char* command);
+
+
 // conversion
 int hex_char_to_int (char c);
 int hex_to_rgb (char *hex, int *r, int *g, int *b);
This page took 0.019823 seconds and 4 git commands to generate.