auxbuffer: Don't override $DISPLAY from the environment
commitecccd4f136d5c76b461f23ae27943a5b148f9291
authorAdam Jackson <ajax@redhat.com>
Fri, 9 Aug 2019 23:32:23 +0000 (9 19:32 -0400)
committerAdam Jackson <ajax@redhat.com>
Mon, 12 Aug 2019 13:46:54 +0000 (12 09:46 -0400)
tree04bb911b1e28fba65a6ccc0f7bc820ba6c596f25
parent1830dcb6e48c88f16d328dc4fc9fa32fe3b4956e
auxbuffer: Don't override $DISPLAY from the environment

Previously we would always try to connect to :0 unless you passed
-display, which is just gratuitously unlike how every other X app works.

Reviewed-by: Eric Engestrom <eric@engestrom.ch>
src/tests/auxbuffer.c