ac95f3ee9d
Repaint and resizing widget recursions must start from the root widget of each (sub-)surface, so that buffers and regions get initialized correctly. Make it easier by moving the widget field from struct window to struct surface. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>