glx/dri2: Paper over errors in DRI2Connect when indirect
authorChristopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Thu, 4 Aug 2011 02:06:13 +0000 (12:06 +1000)
committerEric Anholt <eric@anholt.net>
Fri, 5 Aug 2011 17:11:05 +0000 (10:11 -0700)
commitfbc2fcf685d22ec9bc9465e1f731529979497eaa
tree04aef19098e430c4fb9b0a04c57d2b8e67b54915
parent62722d90af9d43d889af33b080a682f2004e049c
glx/dri2: Paper over errors in DRI2Connect when indirect

DRI2 will throw BadRequest for this when the client is not local, but
DRI2 is an implementation detail and not something callers should have
to know about.  Silently swallow errors in this case, and just propagate
the failure through DRI2Connect's return code.

Note: This is a candidate for the stable release branches.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=28125
Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
src/glx/dri2.c