summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 745fdf9..673a00a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -44,7 +44,8 @@ main(int argc, char **argv)
init_parse_options(argc, argv);
- init_x_and_imlib();
+ if (!opt.list)
+ init_x_and_imlib();
feh_event_init();