window: create new struct surface with wl_surface
authorPekka Paalanen <ppaalanen@gmail.com>
Wed, 13 Feb 2013 14:17:13 +0000 (16:17 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 14 Feb 2013 17:30:04 +0000 (12:30 -0500)
commit4e373748755f3dd766f1f58993fcd0eb66c13548
tree39d4aacaf0f4a41330420d31ce57482ae85970c7
parent550d66bcb1b0da15711b92adc783c1450e4ffaaf
window: create new struct surface with wl_surface

Struct window has many fields that are directly related to the
wl_surface, more than to the window as a whole. When we start composing
a window from several wl_surfaces, these fields need to be per
wl_surface, not per window.

Start separating such fields from struct window into struct surface by
moving the wl_surface.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
clients/window.c