forked from enlightenment/enlightenment
When we try to re-enable a monitor, check the Crtc Mode (not the smart
object Current mode) to determine if it is already disabled. Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
b6fe0c8ff6
commit
57a3a62981
|
@ -811,7 +811,7 @@ e_smart_monitor_changes_apply(Evas_Object *obj)
|
|||
}
|
||||
|
||||
/* if this monitor gets re-enabled, we need to set a mode */
|
||||
if ((sd->current.enabled) && (!sd->current.mode))
|
||||
if ((sd->current.enabled) && (!sd->crtc.mode))
|
||||
{
|
||||
Ecore_X_Randr_Mode_Info *info;
|
||||
|
||||
|
|
Loading…
Reference in New Issue