ecore_wl2: fix key down event called to often
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>
Wed, 13 Jan 2016 18:24:51 +0000 (19:24 +0100)
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>
Wed, 13 Jan 2016 18:40:44 +0000 (19:40 +0100)
commit63a410667a847c7ea90c77a83d94175716935d14
treedcd3e28265409f160e1fd076e4b235ff21ac1e9e
parent0a2f066c2d299edef7b58cc663c7bd22616b344d
ecore_wl2: fix key down event called to often

if many events are coming in, a release event can be skipped. if this happens
the timer continues with the new keycode. so if a new key pressed event
enter checks for the old timer and delete the timer if there is one.

If the timer kicks in and emits additional key down events dont call the
callback which gets called by wl, and emit the signal directly.
src/lib/ecore_wl2/ecore_wl2_input.c