diff options
author | Chris Michael <devilhorns@comcast.net> | 2013-03-20 13:39:57 +0000 |
---|---|---|
committer | Deon Thomas <PrinceAMD.Elive@gmail.com> | 2013-06-28 03:28:52 -0400 |
commit | 76d317c5d00fedf50c70a41f40bb4e9f1fa9f157 (patch) | |
tree | 9c9c028ad7419f67985fddf0eb1e145730d57262 | |
parent | 14a8acad61acbf20b3c7a6bfd36f1492b8a6bb39 (diff) | |
download | enlightenment-76d317c5d00fedf50c70a41f40bb4e9f1fa9f157.tar.gz |
Backport: 723825e :: 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>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
-rw-r--r-- | src/modules/conf_randr/e_smart_randr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/conf_randr/e_smart_randr.c b/src/modules/conf_randr/e_smart_randr.c index ce8e17350c..9e305b706d 100644 --- a/src/modules/conf_randr/e_smart_randr.c +++ b/src/modules/conf_randr/e_smart_randr.c @@ -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 |