mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
acme: Update tag after receiving menu/nomenu control event (#251)
This commit is contained in:
parent
0308e1f010
commit
dfac95269a
1 changed files with 2 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue