Re: [PATCH weston 1/2] Reset focus on unknown seats when restoring focus state

2014-04-10 Thread Kristian Høgsberg
On Wed, Apr 09, 2014 at 04:33:31PM +0100, Neil Roberts wrote: The focus_state list on a workspace only contains entries for seats which have a keyboard focus on that workspace. For workspaces that have no surfaces the list will be empty. That means that when a workspace with no surfaces is

[PATCH weston 1/2] Reset focus on unknown seats when restoring focus state

2014-04-09 Thread Neil Roberts
The focus_state list on a workspace only contains entries for seats which have a keyboard focus on that workspace. For workspaces that have no surfaces the list will be empty. That means that when a workspace with no surfaces is switched to it would previously leave the keyboard focus unaffected