summaryrefslogtreecommitdiff
path: root/src/main.c
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/main.c
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/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 5891056..a5694fb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -30,6 +30,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "timers.h"
#include "options.h"
#include "events.h"
+#include "signals.h"
#include "wallpaper.h"
char **cmdargv = NULL;
@@ -48,6 +49,7 @@ int main(int argc, char **argv)
init_x_and_imlib();
init_keyevents();
init_buttonbindings();
+ setup_signal_handlers();
}
feh_event_init();