compositor-drm: Ignore disconnected connectors width
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Tue, 2 Aug 2011 11:03:54 +0000 (13:03 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 12 Aug 2011 14:17:12 +0000 (10:17 -0400)
commit9eaee356134e8f806db976f6aa04f64b24051337
treee777cd9ce93a37461b0a9c693b0cead2d6021682
parent3651bd54e17422d08d725f61942ee16514d3476c
compositor-drm: Ignore disconnected connectors width

- Fixes segfault, if first enumerated connector is not connected.
- Corrects x-offset where e.g. the 2. of 3 connectors is not connected.
  (where width of 1. output would have taken twice as
   offset for output at 3. connector)
compositor/compositor-drm.c