Bugfix: correctly check for errors when connecting to X11
Bugfix: correctly check for errors when connecting to X11

tkuipers/i3lock,popoffka/i3lock,sm4tik/i3lock,ramnes/i3lock,sebastian-frysztak/i3lock-color,Stautob/i3lock,MartinRogalla/BlueArch,shiver/i3lock,kuruczgyurci/i3lock,koebi/i3lock,freestyl3r/i3lock,jigkoxsee/i3lock-color,eBrnd/i3lock-color,popoffka/i3lock,Darkanmoore/i3lock_cam,endir/i3lock,ravinrabbid/i3lock-svg,stettberger/i4lock,justbrowsing/i3lock-spy,rtfb/i3lock,sebastian-frysztak/i3lock-color,romuald/i3lock,kuruczgyurci/i3lock,Kha/i3lock,ravinrabbid/i3lock-clock,justbrowsing/i3lock-spy,ravinrabbid/i3lock-svg,freestyl3r/i3lock,Kamori/i3lock,proxypoke/i3lock,kuruczgyurci/i3lock,kunev/i3lock-color-scale,jaseg/i3lock,BenElgar/i3lock