Commit 63681d6a authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

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>
parent 13e4ff85
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@ main(int argc, char **argv)

   init_parse_options(argc, argv);

   if (!opt.list)
      init_x_and_imlib();

   feh_event_init();