example/randr: check the GetOutputInfo's mode length (virtual head can have zero mode)
examples:randr  use info.Connection to detect whether there has any Randr.Modes
Merge pull request #19 from snyh/master

example/randr: check the GetOutputInfo's mode length (virtual head can h...