aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kühl <mkhl@posteo.net>2019-04-05 18:45:56 +0000
committerRuss Cox <rsc@golang.org>2019-04-05 14:45:56 -0400
commitdfac95269ab7944810043fb9e78557b06ed3a767 (patch)
treee4551a381861687a2f3bc32916623689d5fbf094
parent0308e1f010cd8650840fa0ceee3b342229982420 (diff)
downloadplan9port-dfac95269ab7944810043fb9e78557b06ed3a767.tar.gz
plan9port-dfac95269ab7944810043fb9e78557b06ed3a767.tar.bz2
plan9port-dfac95269ab7944810043fb9e78557b06ed3a767.zip
acme: Update tag after receiving menu/nomenu control event (#251)
-rw-r--r--src/cmd/acme/xfid.c2
1 files changed, 2 insertions, 0 deletions
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 */