forked from enlightenment/enlightenment
When changing the gravity setting, one cannot reset it to 0, as the setting is
not properly shown when reopening the dialog. It's always shown as 0 and therefore not saveable.
This commit is contained in:
parent
5e8171d686
commit
39a986aace
|
@ -6,7 +6,7 @@ struct _E_Config_Dialog_Data
|
|||
{
|
||||
double delay; /* delay before applying physics */
|
||||
double max_mass; /* maximum mass for a window */
|
||||
double gravity; /* maximum mass for a window */
|
||||
double gravity; /* gravity for a window */
|
||||
Eina_Bool ignore_fullscreen;
|
||||
Eina_Bool ignore_maximized;
|
||||
Eina_Bool ignore_shelves;
|
||||
|
@ -58,6 +58,7 @@ _create_data(E_Config_Dialog *cfd __UNUSED__)
|
|||
|
||||
cfdata->delay = _physics_mod->conf->delay;
|
||||
cfdata->max_mass = _physics_mod->conf->max_mass;
|
||||
cfdata->gravity = _physics_mod->conf->gravity;
|
||||
|
||||
return cfdata;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue