Don't update xkbstate when no app has focus
authorDerek Foreman <derekf@osg.samsung.com>
Fri, 6 Mar 2015 23:55:39 +0000 (18:55 -0500)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Fri, 6 Mar 2015 23:55:39 +0000 (18:55 -0500)
commit8c7364b682e5eb1732404ce3a6194fd09a874269
treef7319c2dcce6ad0adf92552ae1cdff10574d0d81
parent45cb2e6cf178c83710940ffc8ca0f806a2da7221
Don't update xkbstate when no app has focus

Summary:
We still update the keyboard array.  focus_in adds everything in the
array to xkbstate anyway, so adding it when there's no focus results
in a double update of state and potentially stuck modifiers.

Reviewers: zmike, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2111
src/bin/e_comp_wl.c