summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2012-03-25 13:10:36 +0200
committerDaniel Friesel <derf@finalrewind.org>2012-03-25 13:10:36 +0200
commitb2c84a166ac93b4e520250301c1a336776fdfe1d (patch)
treecb75e3eeb0af733f95a282159ee7d876fd8d36a4
parent9c43b648f398bc03706f0e077ee9301a7772ce66 (diff)
set up signal handlers early enough (needed for filelist preloading, for example)
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index e6239e1..6634a88 100644
--- a/src/main.c
+++ b/src/main.c
@@ -41,10 +41,10 @@ int main(int argc, char **argv)
{
atexit(feh_clean_exit);
+ setup_signal_handlers();
init_parse_options(argc, argv);
init_imlib_fonts();
- setup_signal_handlers();
if (opt.display) {
init_x_and_imlib();