Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/slim/slim-1.3.6-wingc-dead-code.patch
blob: 37b7f57877f7d9749e129b0e6ec88e2411e77542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -rauN slim-1.3.6/panel.cpp slim-1.3.6-wingc-dead-code-patch/panel.cpp
--- slim-1.3.6/panel.cpp	2013-10-02 00:38:05.000000000 +0200
+++ slim-1.3.6-wingc-dead-code-patch/panel.cpp	2021-11-29 14:59:42.948388074 +0100
@@ -48,11 +48,6 @@
 		gcm = GCGraphicsExposures;
 		gcv.graphics_exposures = False;
 		WinGC = XCreateGC(Dpy, Win, gcm, &gcv);
-		if (WinGC < 0) {
-			cerr << APPNAME
-				<< ": failed to create pixmap\n.";
-			exit(ERR_EXIT);
-		}
 	}
 
 	font = XftFontOpenName(Dpy, Scr, cfg->getOption("input_font").c_str());