blob: c562518dc64282f72253233197015b6702eef7bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -upr slim-1.3.6-orig/panel.cpp slim-1.3.6/panel.cpp
--- slim-1.3.6-orig/panel.cpp 2013-10-01 23:38:05.000000000 +0100
+++ slim-1.3.6/panel.cpp 2021-08-31 16:52:28.884983818 +0100
@@ -48,7 +48,7 @@ Panel::Panel(Display* dpy, int scr, Wind
gcm = GCGraphicsExposures;
gcv.graphics_exposures = False;
WinGC = XCreateGC(Dpy, Win, gcm, &gcv);
- if (WinGC < 0) {
+ if (WinGC < (GC)0) {
cerr << APPNAME
<< ": failed to create pixmap\n.";
exit(ERR_EXIT);
|