RE: [PATCH] compositor: Fix pick an incorrect surface due to dirty surface_list

2012-03-11 Thread wuzhiwen
Hi Kristian, >-Original Message- >From: Kristian Hoegsberg [mailto:hoegsb...@gmail.com] >Sent: Monday, March 12, 2012 4:23 AM >To: zhiwen...@linux.intel.com >Cc: wayland-devel@lists.freedesktop.org >Subject: Re: [PATCH] compositor: Fix pick an incorrect surface due to d

Re: [PATCH] compositor: Fix pick an incorrect surface due to dirty surface_list

2012-03-11 Thread Kristian Hoegsberg
On Fri, Mar 09, 2012 at 11:57:36AM +0800, zhiwen...@linux.intel.com wrote: > From: Alex Wu > > When a new toplevel window is activated and positioned under the > cursor, the pointer focus still on the previous window. The botton > event can not deliver to the new window. The root cause is that >

[PATCH] compositor: Fix pick an incorrect surface due to dirty surface_list

2012-03-08 Thread zhiwen . wu
From: Alex Wu When a new toplevel window is activated and positioned under the cursor, the pointer focus still on the previous window. The botton event can not deliver to the new window. The root cause is that weston_surface_restack() change the surface stack but not update the weston_compositor: