From dfac95269ab7944810043fb9e78557b06ed3a767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20K=C3=BChl?= Date: Fri, 5 Apr 2019 18:45:56 +0000 Subject: acme: Update tag after receiving menu/nomenu control event (#251) --- src/cmd/acme/xfid.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cmd/acme/xfid.c') diff --git a/src/cmd/acme/xfid.c b/src/cmd/acme/xfid.c index 5aa4a180..9c7be2c0 100644 --- a/src/cmd/acme/xfid.c +++ b/src/cmd/acme/xfid.c @@ -790,10 +790,12 @@ out: }else if(strncmp(p, "nomenu", 6) == 0){ /* turn off automatic menu */ w->filemenu = FALSE; + settag = TRUE; m = 6; }else if(strncmp(p, "menu", 4) == 0){ /* enable automatic menu */ w->filemenu = TRUE; + settag = TRUE; m = 4; }else if(strncmp(p, "cleartag", 8) == 0){ /* wipe tag right of bar */ -- cgit v1.2.3