summaryrefslogtreecommitdiff
path: root/pcr/compiz/screenshot-launch-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/compiz/screenshot-launch-fix.patch')
-rw-r--r--pcr/compiz/screenshot-launch-fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/pcr/compiz/screenshot-launch-fix.patch b/pcr/compiz/screenshot-launch-fix.patch
new file mode 100644
index 000000000..8192961bb
--- /dev/null
+++ b/pcr/compiz/screenshot-launch-fix.patch
@@ -0,0 +1,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; \ No newline at end of file