Return connection failure if display string specifies non-existent screen
authorAlan Coopersmith <alan.coopersmith@oracle.com>
Sat, 25 Aug 2012 20:53:37 +0000 (13:53 -0700)
committerAlan Coopersmith <alan.coopersmith@oracle.com>
Thu, 30 Aug 2012 05:00:55 +0000 (22:00 -0700)
Matches the behaviour of Xlib - if you set DISPLAY to :0.1 but only have
one screen, closes connection and returns error.

This introduces a new connection error code:
XCB_CONN_CLOSED_INVALID_SCREEN

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>

No differences found