summaryrefslogtreecommitdiff
path: root/src/feh.h
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2012-03-13 00:45:13 +0100
committerDaniel Friesel <derf@finalrewind.org>2012-03-13 00:45:13 +0100
commit8f5bf736a9d3f8084c644dbf6ceefc4142715c4e (patch)
treecc912d82821c91b48f248a0dc6fe69d31e400861 /src/feh.h
parentcbab594f051b5c21a76d0ad389a25d6449e0b839 (diff)
Experimental code to limit imagemagick convert runtime (see #82)
Problems so far: * leaks zombie processes * does not work when terminating feh with a signal (since the convert process is no longer in feh's process group)
Diffstat (limited to 'src/feh.h')
-rw-r--r--src/feh.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/feh.h b/src/feh.h
index 7088dea..1d48e53 100644
--- a/src/feh.h
+++ b/src/feh.h
@@ -188,4 +188,7 @@ extern feh_menu *menu_main;
extern feh_menu *menu_close;
extern char *mode; /* label for the current mode */
+/* to terminate long-running children with SIGALRM */
+extern int childpid;
+
#endif