summaryrefslogtreecommitdiff
path: root/src/bin/e_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/e_main.c')
-rw-r--r--src/bin/e_main.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/bin/e_main.c b/src/bin/e_main.c
index 926c68a83a..8ffe39c951 100644
--- a/src/bin/e_main.c
+++ b/src/bin/e_main.c
@@ -1059,10 +1059,13 @@ main(int argc, char **argv)
e_comp_canvas_keys_grab();
TS("E_Comp_Canvas Keys Grab Done");
#ifdef HAVE_ELPUT
- TS("E_Gesture Init");
- e_gesture_init();
- TS("E_Gesture Init Done");
- _e_main_shutdown_push(e_gesture_shutdown);
+ if (e_config->gesture_open_input_devices)
+ {
+ TS("E_Gesture Init");
+ e_gesture_init();
+ TS("E_Gesture Init Done");
+ _e_main_shutdown_push(e_gesture_shutdown);
+ }
#endif
TS("Run Startup Apps");