diff -uNr fluxbox-1.3.7/util/fluxbox-remote.cc fluxbox-1.3.7.mod/util/fluxbox-remote.cc --- fluxbox-1.3.7/util/fluxbox-remote.cc 2015-02-08 12:44:45.377187009 +0200 +++ fluxbox-1.3.7.mod/util/fluxbox-remote.cc 2018-06-19 20:52:20.808391222 +0300 @@ -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 != NULL && text_prop.nitems > 0) { printf("%s", text_prop.value);