Subject: slim fails to build

From: Julian Flake <[email-masked]>
Date: Fri, 28 Apr 2023 21:23:16 +0200

compilation error is:

/tmp/guix-build-slim-1.3.6.drv-0/slim-1.3.6/panel.cpp: In 
constructor ‘Panel::Panel(Display*, int, Window, Cfg*, const 
string&, Panel::PanelType)’:
/tmp/guix-build-slim-1.3.6.drv-0/slim-1.3.6/panel.cpp:51:27: 
error: ordered comparison of pointer with integer zero (‘GC’ {aka 
‘_XGC*’} and ‘int’)
   51 |                 if (WinGC < 0) {
      |                     ~~~~~~^~~
make[2]: *** [CMakeFiles/libslim.dir/build.make:121: 
CMakeFiles/libslim.dir/panel.cpp.o] Error 1