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:
Olaf Conradi 2013-11-29 18:15:25 -05:00 committed by discomfitor
parent 5e8171d686
commit 39a986aace
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}