From: Alan Coopersmith Date: Sat, 25 Aug 2012 20:53:37 +0000 (-0700) Subject: Return connection failure if display string specifies non-existent screen X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff53285ae3f604e9f2cc5f4837255220459b5e44;hp=ff53285ae3f604e9f2cc5f4837255220459b5e44;p=free-sw%2Fxcb%2Flibxcb Return connection failure if display string specifies non-existent screen 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 Signed-off-by: Alan Coopersmith Reviewed-by: Jeremy Huddleston Sequoia Reviewed-by: Josh Triplett ---