db-move: moved seahorse from [testing] to [extra] (x86_64)
[arch-packages.git] / slim / trunk / slim-1.3.6-gcc11.patch
bloba6b07c637780afc84dd0f6cd1c834f133dbfd8f9
1 https://bugs.gentoo.org/786498
2 --- a/panel.cpp
3 +++ b/panel.cpp
4 @@ -48,7 +48,7 @@
5 gcm = GCGraphicsExposures;
6 gcv.graphics_exposures = False;
7 WinGC = XCreateGC(Dpy, Win, gcm, &gcv);
8 - if (WinGC < 0) {
9 + if (WinGC == 0) {
10 cerr << APPNAME
11 << ": failed to create pixmap\n.";
12 exit(ERR_EXIT);