HN Hall of Fame Weekly email

TinyWM – A tiny window manager in around 50 lines of C

Screenshot of incise.org captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 5 calendar years, with breakout response in 2 of them.

submissions
5
submitters
5
observed span
2009–2022
peak thread · 104 comments
335 pts
latest 20+ return · 2022-10-25
211 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

I think that the real advantage of something like this is that it provides a minimal template to follow if one wants to start writing a window manager in one's language of choice (assuming that language already has some X bindings). One can start from there, & then add ICCCM, tiles, whatever else one wants. edit 1: accidentally a word edit 2: I'm at a loss at why this isn't considered a contribution to the conversation. Can anyone enlighten me?

zeveb·335-point thread·

Wayland version of TinyWM: https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/master...

esjeon·211-point thread·

You know, succinctness is not something I look for in C code. Unless you're artificially going for obfuscation; I think 50 lines is barely enough to check arguments, open descriptors, test results, setup signal handlers and sit tightly on a loop. You will need at least another 50-500 just to implement ICCC.

mahmud·62-point thread·

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
613

reference only — not used in Hall rules or ranking

Total comments
171

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2009-12-14Tinywm, a window manager in 50 lines of Cvorador628
2012-06-16TinyWM - A Barebones Window Manager in ~50 Lines of Ccoderdude30
2018-08-15TinyWM – A tiny window manager in around 50 lines of CFirst breakout · Best threadLaSombra335104
2020-02-19Tinywm – A tiny window manager in 50 lines of Cpcr91030320
2022-10-25TinyWM – A tiny window manager in around 50 lines of CHall induction · Latest 20+ point returnmetadat21159