Skip to content

v0.55.0 — Config.Passive

Choose a tag to compare

@tannevaled tannevaled released this 27 Aug 19:15
· 49 commits to main since this release
67c6411

Config.Passive makes a window a picture and nothing else: it never becomes key, it ignores mouse events, and the application is made an accessory so it cannot steal the keyboard by appearing.

For a viewer — a head-up display, a surface inside glasses — taking input is not a feature but a trap: the keyboard leaves whatever the person was typing into, and the pointer that wanders onto the display it owns is invisible, because the picture is a capture of somewhere else. Measured on a pair of glasses; the way out was unplugging them.

A passive window is driven from outside instead: a global shortcut, a menu-bar item, a socket.