aboutsummaryrefslogtreecommitdiffstats
path: root/community/fluxbox/gcc11.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/fluxbox/gcc11.patch')
-rw-r--r--community/fluxbox/gcc11.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/fluxbox/gcc11.patch b/community/fluxbox/gcc11.patch
new file mode 100644
index 00000000000..eeac6822569
--- /dev/null
+++ b/community/fluxbox/gcc11.patch
@@ -0,0 +1,11 @@
+--- a/util/fluxbox-remote.cc
++++ b/util/fluxbox-remote.cc
+@@ -73,7 +73,7 @@
+ if (strcmp(cmd, "result") == 0) {
+ XTextProperty text_prop;
+ if (XGetTextProperty(disp, root, &text_prop, atom_result) != 0
+- && text_prop.value > 0
++ && text_prop.value != 0
+ && text_prop.nitems > 0) {
+
+ printf("%s", text_prop.value);