devdraw: clear altdown on focus out (thanks Ethan Burns)
TBR=rsc https://codereview.appspot.com/53820044
This commit is contained in:
parent
baf127ad04
commit
042a069825
1 changed files with 1 additions and 0 deletions
|
|
@ -625,6 +625,7 @@ runxevent(XEvent *xev)
|
|||
* so clear out the keyboard state when we lose the focus.
|
||||
*/
|
||||
kstate = 0;
|
||||
altdown = 0;
|
||||
abortcompose();
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue