summaryrefslogtreecommitdiff
path: root/src/bin/e_main.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2022-01-18 21:17:54 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2022-01-18 21:17:54 +0000
commit264b59c42fdb2a926a28eb054591bdb8f81a68ce (patch)
tree199ca92fc685b89a4dc4053cf37141b1f2609840 /src/bin/e_main.c
parent29e1a12da323a25a7421ca50823b6c0953ee2411 (diff)
downloadenlightenment-264b59c42fdb2a926a28eb054591bdb8f81a68ce.tar.gz
gesture - add an option to turn it all on or off
so - some people have issues if we open devices. why... i don't know, but add an option to toggle this and be conservative and have it off by default @fix
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");