forked from enlightenment/enlightenment
E (RandR): Remove dead debug code. Reenable crtc check to avoid
potential segv. Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 77877
This commit is contained in:
parent
33952ef188
commit
888e820aca
|
@ -180,7 +180,7 @@ _basic_apply(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
|
||||||
if ((changes & E_SMART_MONITOR_CHANGED_REFRESH) ||
|
if ((changes & E_SMART_MONITOR_CHANGED_REFRESH) ||
|
||||||
(changes & E_SMART_MONITOR_CHANGED_RESOLUTION))
|
(changes & E_SMART_MONITOR_CHANGED_RESOLUTION))
|
||||||
{
|
{
|
||||||
// if (crtc)
|
if (crtc)
|
||||||
{
|
{
|
||||||
Ecore_X_Randr_Mode_Info *mode;
|
Ecore_X_Randr_Mode_Info *mode;
|
||||||
Ecore_X_Randr_Output *outputs = NULL;
|
Ecore_X_Randr_Output *outputs = NULL;
|
||||||
|
@ -197,11 +197,6 @@ _basic_apply(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
|
||||||
reset = EINA_TRUE;
|
reset = EINA_TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* if (!ecore_x_randr_crtc_settings_set(root, crtc->xid, */
|
|
||||||
/* outputs, noutputs, */
|
|
||||||
/* mx, my, mode->xid, orient)) */
|
|
||||||
/* printf("Saving Settings Failed\n"); */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (reset) ecore_x_randr_screen_reset(root);
|
if (reset) ecore_x_randr_screen_reset(root);
|
||||||
|
|
Loading…
Reference in New Issue