Closed valkheim closed 6 years ago
Hi,
According to xcb documentation, xcb_connect() always return a non-NULL pointer. The comparison to NULL on line 810 looks unnecessary.
xcb_connect()
This is how monsterwm-xcb implements it : https://github.com/Cloudef/monsterwm-xcb/blob/master/monsterwm.c#L1260
Code corrected, Pull Request submitted.
Thank you for your report.
Just to be precise: will be corrected by pending PR #177. :-)
Hi,
According to xcb documentation,
xcb_connect()
always return a non-NULL pointer. The comparison to NULL on line 810 looks unnecessary.This is how monsterwm-xcb implements it : https://github.com/Cloudef/monsterwm-xcb/blob/master/monsterwm.c#L1260