forked from enlightenment/enlightenment
If a crtc has no outputs, then skip it.
This fixes an issue where "monitors" would be created with only a stand. Signed-off-by: Chris Michael <devilhorns@comcast.net>
This commit is contained in:
parent
984f1b8779
commit
723825e49e
|
@ -255,6 +255,7 @@ e_smart_randr_monitors_create(Evas_Object *obj)
|
|||
|
||||
/* get this outputs crtc */
|
||||
rcrtc = ecore_x_randr_output_crtc_get(root, routputs[j]);
|
||||
if (!rcrtc) continue;
|
||||
|
||||
/* if crtc is not 0 (disabled), then check if it matches
|
||||
* the one we are currently working with. If it does not
|
||||
|
|
Loading…
Reference in New Issue