[PATCH v2 weston] input: Don't test keyboard/pointer/touch pointers

Derek Foreman derekf at osg.samsung.com
Mon Feb 2 14:03:49 PST 2015

On 02/02/15 03:40 PM, Bill Spitzak wrote:
> On 02/02/2015 01:24 PM, Derek Foreman wrote:
>>> force_kill_binding() appears to have deleted the setting of the
>>> focus_surface variable.
>> I don't see it...  I think I just moved it to the top of the function?
> I think you are right.
> It is assuming keyboard is not null however.

That's a keyboard binding, it'll never trigger unless a keyboard is
present to trigger it.

So far I've only come across one bad binding (zoom) that assumed a
pointer was present but could also be triggered exclusively by keyboard.
 There may be others...

More information about the wayland-devel mailing list