Re: [PATCH 1/2] compositor: keep track of the weston_layer a weston_view is in

2014-01-28 Thread Bryce W. Harrington
On Mon, Jan 27, 2014 at 09:46:49PM +0200, Giulio Camuffo wrote: This introduces a new struct, weston_layer_entry, which is now used in place of wl_list to keep the link for the layer list in weston_view and the head of the list in weston_layer. weston_layer_entry also has a weston_layer*,

[PATCH 1/2] compositor: keep track of the weston_layer a weston_view is in

2014-01-27 Thread Giulio Camuffo
This introduces a new struct, weston_layer_entry, which is now used in place of wl_list to keep the link for the layer list in weston_view and the head of the list in weston_layer. weston_layer_entry also has a weston_layer*, which points to the layer the view is in or, in the case the entry it's