diff options
author | Daniel Friesel <derf@finalrewind.org> | 2012-03-13 00:45:13 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2012-03-13 00:45:13 +0100 |
commit | 8f5bf736a9d3f8084c644dbf6ceefc4142715c4e (patch) | |
tree | cc912d82821c91b48f248a0dc6fe69d31e400861 /src/main.c | |
parent | cbab594f051b5c21a76d0ad389a25d6449e0b839 (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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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(); |