summarylogtreecommitdiffstats
path: root/0004-screenshot-launch-fix.patch
blob: 8192961bbd3358625fac01b5837b3253cece4929 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -rupN compiz/plugins/screenshot/src/screenshot.cpp compiz.new/plugins/screenshot/src/screenshot.cpp
--- compiz/plugins/screenshot/src/screenshot.cpp	2014-09-01 00:21:45.807271000 -0400
+++ compiz.new/plugins/screenshot/src/screenshot.cpp	2014-09-01 00:52:30.634288167 -0400
@@ -434,10 +434,10 @@ namespace
 	    compLogMessage ("screenshot", CompLogLevelWarn, "glReadPixels failed");
 	}
 
-	if (!success)
+	if (success)
 	    success =
 		launchApplicationAndTakeScreenshot (alternativeApplication,
-						    directory);
+						    path);
 
 	return success;