window: move input and opaque regions into struct surface
authorPekka Paalanen <ppaalanen@gmail.com>
Wed, 13 Feb 2013 14:17:18 +0000 (16:17 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 14 Feb 2013 17:33:48 +0000 (12:33 -0500)
commitb1cd9b17bf7d8375b9ac8831c63237b401aa8903
tree24ef3f90675b0c73b1cfa182dcfb493e7f58e5d0
parentac95f3ee9d463176c4b391e7f6daac8a006ab7b8
window: move input and opaque regions into struct surface

They are per wl_surface state.

The frame widget is always on the main surface, since it can be created
only for the window. That is why frame_resize_handler() can simply
assume that the surface is the main_surface.

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