aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-04-01 14:29:38 +0900
committerMike Blumenkrantz <zmike@samsung.com>2018-08-02 09:55:47 -0400
commit5e07f6815c989f44da85cc9bbc8a5d3272844a38 (patch)
tree6270d72445d37add8fd06ddc38a4796681a167bd
parentconf_randr: Use eina_stringshare_replace (diff)
downloadenlightenment-5e07f6815c989f44da85cc9bbc8a5d3272844a38.tar.gz
edge flip while dragging with alt - fix to work again
this fixes when you drag a wqindow to screen edge and it flips if you use alt+drag as opposed to just dragging titlebar around without alt. it fixes it by updating your config to allow "any modifier" for edge flips which is actually correct. @fix
-rw-r--r--src/bin/e_config.c20
-rw-r--r--src/bin/e_config.h2
2 files changed, 21 insertions, 1 deletions
diff --git a/src/bin/e_config.c b/src/bin/e_config.c
index 5b7d9ddb0..1feb31bbc 100644
--- a/src/bin/e_config.c
+++ b/src/bin/e_config.c
@@ -1505,6 +1505,26 @@ e_config_load(void)
if (!elm_config_profile_exists(_e_config_profile))
elm_config_profile_save(_e_config_profile);
}
+ CONFIG_VERSION_CHECK(25)
+ {
+ Eina_List *l;
+ E_Config_Binding_Edge *ebe;
+
+ EINA_LIST_FOREACH(e_bindings->edge_bindings, l, ebe)
+ {
+ if ((ebe->context == E_BINDING_CONTEXT_ZONE) &&
+ (ebe->modifiers == 0) &&
+ (ebe->edge >= 1) && (ebe->edge <= 4) &&
+ (!ebe->any_mod) &&
+ (ebe->action) &&
+ (!strcmp(ebe->action, "desk_flip_in_direction")))
+ {
+ ebe->any_mod = 1;
+ }
+ }
+ CONFIG_VERSION_UPDATE_INFO(25);
+ e_config_save_queue();
+ }
}
elm_config_profile_set(_e_config_profile);
if (!e_config->remember_internal_fm_windows)
diff --git a/src/bin/e_config.h b/src/bin/e_config.h
index 3ed61b004..a4af30c5c 100644
--- a/src/bin/e_config.h
+++ b/src/bin/e_config.h
@@ -46,7 +46,7 @@ typedef enum
/* increment this whenever a new set of config values are added but the users
* config doesn't need to be wiped - simply new values need to be put in
*/
-#define E_CONFIG_FILE_GENERATION 24
+#define E_CONFIG_FILE_GENERATION 25
#define E_CONFIG_FILE_VERSION ((E_CONFIG_FILE_EPOCH * 1000000) + E_CONFIG_FILE_GENERATION)
#define E_CONFIG_BINDINGS_VERSION 0 // DO NOT INCREMENT UNLESS YOU WANT TO WIPE ALL BINDINGS!!!!!