xref: /OK3568_Linux_fs/buildroot/package/fluxbox/0001-fixes-bug-1138.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From 22866c4d30f5b289c429c5ca88d800200db4fc4f Mon Sep 17 00:00:00 2001
2From: John Sennesael <john@aminking.com>
3Date: Mon, 2 Nov 2015 15:14:32 -0600
4Subject: [PATCH] fixes bug #1138
5
6[Retrieved from:
7https://github.com/fluxbox/fluxbox/commit/22866c4d30f5b289c429c5ca88d800200db4fc4f]
8Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
9---
10 util/fluxbox-remote.cc | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/util/fluxbox-remote.cc b/util/fluxbox-remote.cc
14index 59852e6a..504015b5 100644
15--- a/util/fluxbox-remote.cc
16+++ b/util/fluxbox-remote.cc
17@@ -73,7 +73,7 @@ int main(int argc, char **argv) {
18     if (strcmp(cmd, "result") == 0) {
19         XTextProperty text_prop;
20         if (XGetTextProperty(disp, root, &text_prop, atom_result) != 0
21-            && text_prop.value > 0
22+            && text_prop.value != 0
23             && text_prop.nitems > 0) {
24
25             printf("%s", text_prop.value);
26