diff options
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/fluxbox/files/patch-util_fluxbox-remote.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-wm/fluxbox/files/patch-util_fluxbox-remote.cc b/x11-wm/fluxbox/files/patch-util_fluxbox-remote.cc new file mode 100644 index 000000000000..d8bd9bce6a6e --- /dev/null +++ b/x11-wm/fluxbox/files/patch-util_fluxbox-remote.cc @@ -0,0 +1,15 @@ +Upstream fix for bogus pointer comparison: +Issue: https://sourceforge.net/p/fluxbox/bugs/1138/ +Commit: http://git.fluxbox.org/fluxbox.git/commit/util/fluxbox-remote.cc?id=22866c4d30f5b289c429c5ca88d800200db4fc4f + +--- util/fluxbox-remote.cc.orig 2015-02-08 10:44:45 UTC ++++ util/fluxbox-remote.cc +@@ -73,7 +73,7 @@ int main(int argc, char **argv) { + 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); |