Solutions to the tiny window manager challenge

1 · Julia Evans · Dec. 3, 2019, 10:16 p.m.
Summary
Hello! Last week I posted a small programming challenge to write a tiny window manager that bounces windows around the screen. I’ll write a bit about my experience of solving the challenge, or you can just skip to the end to see the solutions. what’s a window manager? An X window manager is a program that sends messages to the X server (which is in charge of drawing your windows) to tell it which windows to display and where. I found out that you can trace those events with xtrace. Here’s some ...