summaryrefslogtreecommitdiff
path: root/package/fluxbox/patches/patch-util_fluxbox-remote_cc
blob: bc76ea43e0b6bf41c07b3ef7d9e1d853af714bc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- fluxbox-1.3.7.orig/util/fluxbox-remote.cc	2015-02-08 11:44:45.377187009 +0100
+++ fluxbox-1.3.7/util/fluxbox-remote.cc	2023-01-13 06:47:39.349301911 +0100
@@ -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);