discomfitor pushed a commit to branch enlightenment-0.20.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=29ebcc890e7103a3d3d6a46bf8d3bc7caa759e52

commit 29ebcc890e7103a3d3d6a46bf8d3bc7caa759e52
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Mon Jan 11 09:01:55 2016 +0900

    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.
---
 src/modules/conf_randr/e_int_config_randr2.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/modules/conf_randr/e_int_config_randr2.c 
b/src/modules/conf_randr/e_int_config_randr2.c
index 8af6f96..c020297 100644
--- a/src/modules/conf_randr/e_int_config_randr2.c
+++ b/src/modules/conf_randr/e_int_config_randr2.c
@@ -81,11 +81,8 @@ _create_data(E_Config_Dialog *cfd EINA_UNUSED)
    E_Config_Dialog_Data *cfdata;
 
    if (!(cfdata = E_NEW(E_Config_Dialog_Data, 1))) return NULL;
-   if (cfd->data)
-     {
-        cfdata->restore = e_randr2_cfg->restore;
-        cfdata->params = strdup(cfd->data);
-     }
+   if (cfd->data) cfdata->params = strdup(cfd->data);
+   cfdata->restore = e_randr2_cfg->restore;
    cfdata->hotplug = !e_randr2_cfg->ignore_hotplug_events;
    cfdata->acpi = !e_randr2_cfg->ignore_acpi_events;
    return cfdata;

-- 


Reply via email to