Skip to content

use xcb_connection_has_error to check for failue

Vlad Zahorodnii requested to merge work/cherry-pick-c5185611 into Plasma/6.2

xcb_connectxx() always returns a non-NULL pointer to a xcb_connection_t, even on failure.

(cherry picked from commit c5185611)

Co-authored-by: Xiao YaoBing xiaoyaobing@uniontech.com

Merge request reports

Loading