Improved XF86-VidModeExtension printing
authorAlan Coopersmith <alan.coopersmith@sun.com>
Wed, 2 Sep 2009 03:50:51 +0000 (20:50 -0700)
committerAlan Coopersmith <alan.coopersmith@sun.com>
Wed, 2 Sep 2009 03:50:51 +0000 (20:50 -0700)
commitf1974e686a9622fa526268697d29ceab83edf0d0
tree74856a7241f5d3d69ccf1134cf4b1d2b3c2ad44b
parentffa604b5e6b60c5a98cc18819e70786b26b0b07c
Improved XF86-VidModeExtension printing

- Combine common modeline printing code into single function
- Don't return 0 unless extension isn't supported, since that
  makes xdpyinfo report the extension isn't supported.
- Don't exit immediately if some information is not available,
  since other info may be present.

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
xdpyinfo.c