diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-02-08 19:09:42 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-02-08 19:09:42 +0100 |
commit | 63681d6aedac480b61ea71e8a99c3f41b0f60267 (patch) | |
tree | 4e58b8fe9dcb212a03cc647ebee3d131adde6a4c /src | |
parent | 13e4ff850a4e8ff2dbe489e63763f9bd83c47e04 (diff) |
make feh --list work without X.
feh -O should also be able to run without it, but that requires slightly more work.
I'll fix that one later, I guess.
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373209>
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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(); |