Re: [PATCH 1/2] exposay: fix infinite loop with fullscreen surfaces

2014-01-07 Thread Kristian Høgsberg
On Tue, Jan 07, 2014 at 04:41:39PM +0100, poch...@gmail.com wrote: > From: Emilio Pozuelo Monfort > > We were calling exposay_highlight_surface() inside a wl_list_for_each > loop for a layer, but exposay_highlight_surface() calls activate() > which calls shell_surface_update_layer(), which remove

[PATCH 1/2] exposay: fix infinite loop with fullscreen surfaces

2014-01-07 Thread pochu27
From: Emilio Pozuelo Monfort We were calling exposay_highlight_surface() inside a wl_list_for_each loop for a layer, but exposay_highlight_surface() calls activate() which calls shell_surface_update_layer(), which removes the surface from its layer and reinserts it, causing an infinite loop. Cal