Re: [PATCH] desktop-shell: Track focused shell surface by main surface

2017-07-26 Thread Quentin Glidic
On 7/26/17 12:02 PM, Philipp Kerling wrote: The focused surface is used for determining whether shell surfaces are activated. They should also be considered activated when a subsurface has focus. Inserting a call to weston_surface_get_main_surface fixes this. seat->focused_surface is only used

[PATCH] desktop-shell: Track focused shell surface by main surface

2017-07-26 Thread Philipp Kerling
The focused surface is used for determining whether shell surfaces are activated. They should also be considered activated when a subsurface has focus. Inserting a call to weston_surface_get_main_surface fixes this. seat->focused_surface is only used for shell_surface keyboard focus tracking. ---