From 30c24c59edf8d2ab9d0dde3777f7c34bac60e835 Mon Sep 17 00:00:00 2001 From: o9000 Date: Tue, 20 Jun 2017 13:01:09 +0200 Subject: [PATCH] Hide executor if output is empty (issue #648) --- src/execplugin/execplugin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/execplugin/execplugin.c b/src/execplugin/execplugin.c index e0724a0..1d017fc 100644 --- a/src/execplugin/execplugin.c +++ b/src/execplugin/execplugin.c @@ -854,6 +854,7 @@ void execp_update_post_read(Execp *execp) } if ((icon_h == 0 || icon_w == 0) && execp->backend->text[0] == 0) { + // Easy to test with bash -c 'R=$(( RANDOM % 2 )); [ $R -eq 0 ] && echo HELLO $R' if (execp->area.on_screen) hide(&execp->area); } else {