diff options
author | Bert <ber.t@gmx.com> | 2011-04-14 12:00:35 +0200 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-04-14 12:00:35 +0200 |
commit | c58307ba38e568c9851749ee8e2c721ed4741ca1 (patch) | |
tree | c74966b4788c48b388995c48da3efb91646e0aa0 /main.c | |
parent | 75c79bef6fb75c5cb897c82237df11a22766673c (diff) | |
download | nsxiv-c58307ba38e568c9851749ee8e2c721ed4741ca1.tar.zst |
Merged commands.h into config.h
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -29,17 +29,12 @@ #include <X11/Xutil.h> #include <X11/keysym.h> -#include "config.h" #include "image.h" #include "options.h" #include "thumbs.h" #include "util.h" #include "window.h" -#if EXT_COMMANDS -#include "commands.h" -#endif - #define FNAME_CNT 1024 #define TITLE_LEN 256 @@ -48,11 +43,20 @@ #define TO_CURSOR_HIDE 1500000 #define TO_THUMBS_LOAD 75000 +typedef struct { + KeySym ksym; + Bool reload; + const char *cmdline; +} command_t; + typedef enum { MODE_NORMAL = 0, MODE_THUMBS } appmode_t; +#define MAIN_C +#include "config.h" + void run(); appmode_t mode; |