forked from enlightenment/enlightenment
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
This commit is contained in:
parent
25c2f3ab5c
commit
5e07f6815c
|
@ -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)
|
||||
|
|
|
@ -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!!!!!
|
||||
|
|
Loading…
Reference in New Issue