aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2017-03-13 20:44:53 +0100
committerBoris Faure <billiob@gmail.com>2017-03-13 20:44:53 +0100
commit1fa0fd714896950529af79208db83c930a9c1379 (patch)
tree2f00e943ca116d625c3cb24cfcaa362326fb8c49
parentadd behavior option to disable focus-in/out animations and visuals (diff)
downloadterminology-1fa0fd714896950529af79208db83c930a9c1379.tar.gz
config: change Disable focus-out visuals to be more positive :)
-rw-r--r--src/bin/config.c7
-rw-r--r--src/bin/options_behavior.c4
2 files changed, 7 insertions, 4 deletions
diff --git a/src/bin/config.c b/src/bin/config.c
index 35a6e75..087e253 100644
--- a/src/bin/config.c
+++ b/src/bin/config.c
@@ -7,7 +7,7 @@
#include "col.h"
#include "utils.h"
-#define CONF_VER 14
+#define CONF_VER 15
#define LIM(v, min, max) {if (v >= max) v = max; else if (v <= min) v = min;}
@@ -616,7 +616,10 @@ config_load(const char *key)
case 13:
_add_key(config, "End", 0, 0, 1, 0, "reset_scroll");
/*pass through*/
- case CONF_VER: /* 13 */
+ case 14:
+ config->disable_focus_visuals = EINA_FALSE;
+ /*pass through*/
+ case CONF_VER: /* 15 */
config->version = CONF_VER;
break;
default:
diff --git a/src/bin/options_behavior.c b/src/bin/options_behavior.c
index e090485..c9b25e3 100644
--- a/src/bin/options_behavior.c
+++ b/src/bin/options_behavior.c
@@ -39,7 +39,7 @@ CB(erase_is_del, 0);
CB(drag_links, 0);
CB(login_shell, 0);
CB(mouse_over_focus, 0);
-CB(disable_focus_visuals, 0);
+CB(disable_focus_visuals, 1);
CB(gravatar, 0);
CB(notabs, 1);
CB(mv_always_show, 0);
@@ -200,7 +200,7 @@ options_behavior(Evas_Object *opbox, Evas_Object *term)
CX(_("Drag & drop links"), drag_links, 0);
CX(_("Start as login shell"), login_shell, 0);
CX(_("Focus split under the Mouse"), mouse_over_focus, 0);
- CX(_("Disable focus-out visuals"), disable_focus_visuals, 0);
+ CX(_("Focus-related visuals"), disable_focus_visuals, 1);
CX(_("Gravatar integration"), gravatar, 0);
CX(_("Show tabs"), notabs, 1);
CX(_("Always show miniview"), mv_always_show, 0);