win: fix spaces in Acme window tag

Acme adds a space after Look at the end of window tags.  Therefore, the
space before Send is not needed.  The space after Send is for consistency
and convenience.
This commit is contained in:
Dmitri Vereshchagin
2026-02-01 10:06:13 +03:00
committed by Dan Cross
parent a39606e324
commit cb7001c8d2

View File

@@ -182,7 +182,7 @@ threadmain(int argc, char **argv)
putenv("winid", buf);
sprint(buf, "%d/tag", id);
fd = fsopenfd(fs, buf, OWRITE|OCEXEC);
write(fd, " Send", 1+4);
write(fd, "Send ", 4+1);
close(fd);
sprint(buf, "%d/event", id);
eventfd = fsopen(fs, buf, ORDWR|OCEXEC);