Follow

to indicate which window is active in acme;

bartflag = true; if(&w->body==barttext) b = actbutton;

and rob's your uncle! another one of those things I should have done a lot earlier.

· · Web · 1 · 2 · 4

@sevki @henesy I’m not sure I follow. I don’t have a code in front of me, but isn’t bartflag the focus-follows-click thing? Is that required for the indicator to work?

@a @henesy not really, you could probably do by checking activewin but I have hardcoded bartflag = true so it made more sense to use that 🤷

Sign in to participate in the conversation
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko