commit dfac95269ab7944810043fb9e78557b06ed3a767 from: Martin Kühl via: Russ Cox date: Fri Apr 05 18:45:56 2019 UTC acme: Update tag after receiving menu/nomenu control event (#251) commit - 0308e1f010cd8650840fa0ceee3b342229982420 commit + dfac95269ab7944810043fb9e78557b06ed3a767 blob - 5aa4a1804d50a970733ba27d4fd0ba162484030e blob + 9c7be2c0416c7e5c83b95a6e9d9963aa3ac41028 --- src/cmd/acme/xfid.c +++ 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 */