app_server (BeOS)
More info
- Creator
- Be Inc.
- Type
- Window system
- Platform
- BeOS, Haiku
The BeOS window system: a single server process that owns the screen, draws frames and text for every application and talks to them over message ports, with a thread per window.
When Be Inc. wrote BeOS from scratch in the mid-1990s, it got a window system that resembled X11 in one respect: graphics were handled by a separate process, app_server, not by the kernel and not by the applications themselves. The resemblance ends there. There was no network protocol and no separate window manager. The server drew the title tabs, the yellow tabs covering only part of a window's top edge were its signature, and handled fonts, cursors and the clipboard, while applications talked to it through kernel ports using BMessage packets from the Interface Kit classes BWindow and BView. Every window got its own thread on the application side, which is why a BeOS window could be dragged while the program behind it was busy encoding video.
Be never released the source, so the free Haiku project rewrote app_server from nothing during the 2000s, with anti-aliased rendering through Anti-Grain Geometry and pluggable "decorators" for the look of the frames, something the original never officially allowed. Having the server own the frames makes BeOS more like Windows than like X, where the look belongs to the window manager and is attached through reparenting.