Re: [PATCH v3] shell: don't abuse link_layer for keeping track of input panel surfaces

2012-08-09 Thread Kristian Høgsberg
On Mon, Aug 06, 2012 at 01:44:42PM +0200, Philipp Brüschweiler wrote: > Input panel surfaces were kept in a list by using layer_link of > weston_surface. This was pretty hacky and resulted in the bug that > an input panel surface was not removed from the list if it was unmapped > at the time of des

[PATCH v3] shell: don't abuse link_layer for keeping track of input panel surfaces

2012-08-06 Thread Philipp Brüschweiler
Input panel surfaces were kept in a list by using layer_link of weston_surface. This was pretty hacky and resulted in the bug that an input panel surface was not removed from the list if it was unmapped at the time of destruction. This patch wraps the surface in a new input_panel_surface struct an