Instead of calling XGetXCBConnection() blindly, check XOpenDisplay()'s return value to avoid a possible segfault in the former. That happens if $DISPLAY is set, but if that display isn't available. Signed-off-by: Cyril Brulebois <kibi@debian.org>dev
parent
8d85e886fc
commit
20798291ca
Loading…
Reference in new issue