aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 38adb7b4c..2a3d5a537 100644
--- a/src/main.c
+++ b/src/main.c
@@ -9,7 +9,11 @@
#include "ipc.h"
#include "menu.h"
#include "view.h"
-#include "e_ferite.h"
+
+#ifdef USE_FERITE
+# include "e_ferite.h"
+#endif
+
#include <X11/Xproto.h>
#ifdef E_PROF
@@ -123,13 +127,18 @@ main(int argc, char **argv)
e_view_init();
e_entry_init();
e_keys_init();
+
+#ifdef USE_FERITE
e_ferite_init();
+#endif
setup();
e_event_loop();
+#ifdef USE_FERITE
e_ferite_deinit();
+#endif
return 0;
UN(argc);