window: move 'widget' member into struct surface
authorPekka Paalanen <ppaalanen@gmail.com>
Wed, 13 Feb 2013 14:17:17 +0000 (16:17 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 14 Feb 2013 17:33:30 +0000 (12:33 -0500)
commitac95f3ee9d463176c4b391e7f6daac8a006ab7b8
treef2d155952d8bcdfcf3d41fbc770e43cd1d871011
parent7bcfeade53310a7db18da985a2d90f0d5e5c98cd
window: move 'widget' member into struct surface

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>
clients/window.c