Re: [PATCH weston] desktop-shell: don't crash input-panel if no kbd focus

2014-11-24 Thread Pekka Paalanen
On Thu, 20 Nov 2014 10:25:17 +0200 Pekka Paalanen wrote: > From: Pekka Paalanen > > If a keyboard exists but it has no current focus, yet something asks the > input-panel to come up, we would crash here. Check that there is a focus > before attempting to use it. > > Maybe there should not even

[PATCH weston] desktop-shell: don't crash input-panel if no kbd focus

2014-11-20 Thread Pekka Paalanen
From: Pekka Paalanen If a keyboard exists but it has no current focus, yet something asks the input-panel to come up, we would crash here. Check that there is a focus before attempting to use it. Maybe there should not even exist a case where input-panel tries to come up without a keyboard focus