princeamd pushed a commit to branch enlightenment-0.17.
commit 76d317c5d00fedf50c70a41f40bb4e9f1fa9f157
Author: Chris Michael <[email protected]>
Date: Wed Mar 20 13:39:57 2013 +0000
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 <[email protected]>
Signed-off-by: Deon Thomas <[email protected]>
---
src/modules/conf_randr/e_smart_randr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/modules/conf_randr/e_smart_randr.c
b/src/modules/conf_randr/e_smart_randr.c
index ce8e173..9e305b7 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
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev