devdraw: clear altdown on focus out (thanks Ethan Burns)

TBR=rsc
https://codereview.appspot.com/53820044
This commit is contained in:
Russ Cox 2014-01-22 13:41:13 -05:00
parent baf127ad04
commit 042a069825

View file

@ -625,6 +625,7 @@ runxevent(XEvent *xev)
* so clear out the keyboard state when we lose the focus.
*/
kstate = 0;
altdown = 0;
abortcompose();
break;