window: Fix build

I break things a lot now.