e randr - fix randr dialog to do restore right again
post e20 commit that allowe dradnr dialog to come up for a specifci streen broke restore option - now this fixes it.
This commit is contained in:
parent
6b93a73d0c
commit
81d2596209
|
@ -85,11 +85,8 @@ _create_data(E_Config_Dialog *cfd EINA_UNUSED)
|
||||||
E_Config_Dialog_Data *cfdata;
|
E_Config_Dialog_Data *cfdata;
|
||||||
|
|
||||||
if (!(cfdata = E_NEW(E_Config_Dialog_Data, 1))) return NULL;
|
if (!(cfdata = E_NEW(E_Config_Dialog_Data, 1))) return NULL;
|
||||||
if (cfd->data)
|
if (cfd->data) cfdata->params = strdup(cfd->data);
|
||||||
{
|
cfdata->restore = e_randr2_cfg->restore;
|
||||||
cfdata->restore = e_randr2_cfg->restore;
|
|
||||||
cfdata->params = strdup(cfd->data);
|
|
||||||
}
|
|
||||||
cfdata->hotplug = !e_randr2_cfg->ignore_hotplug_events;
|
cfdata->hotplug = !e_randr2_cfg->ignore_hotplug_events;
|
||||||
cfdata->acpi = !e_randr2_cfg->ignore_acpi_events;
|
cfdata->acpi = !e_randr2_cfg->ignore_acpi_events;
|
||||||
return cfdata;
|
return cfdata;
|
||||||
|
|
Loading…
Reference in New Issue