compositor: Update xkb state with key releases on focus out
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 28 Jun 2012 17:46:09 +0000 (13:46 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 28 Jun 2012 17:46:09 +0000 (13:46 -0400)
commitc7cd626bcfdc61385ffb7ccb065c5c815641a3b9
tree664e9885beb0057ed04ac817424411b4fdb8efaf
parent061c4253317fff4d6021685c7e4c506d4cef4542
compositor: Update xkb state with key releases on focus out

This happens when vt-switching away from the compositor (drm) or
giving keyboard focus to a different X window.  Release the modifiers
so we don't get stuck modifiers.  We'll update with the new keys down
when we come back.
src/compositor.c
src/shell.c