summarylogtreecommitdiffstats
path: root/screenshot-launch-fix.patch
diff options
context:
space:
mode:
authorCharles Bos2019-02-14 22:24:09 +0000
committerCharles Bos2019-02-14 22:24:09 +0000
commit92146d432495dab2553a6be4ad0129f399c8c723 (patch)
treeb92d60b372b857b235516dd4ab270d003a4fa8c5 /screenshot-launch-fix.patch
downloadaur-92146d432495dab2553a6be4ad0129f399c8c723.tar.gz
Initial commit
Diffstat (limited to 'screenshot-launch-fix.patch')
-rw-r--r--screenshot-launch-fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/screenshot-launch-fix.patch b/screenshot-launch-fix.patch
new file mode 100644
index 000000000000..8192961bbd33
--- /dev/null
+++ b/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