diff options
author | Russ Cox <rsc@swtch.com> | 2014-01-22 13:41:13 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2014-01-22 13:41:13 -0500 |
commit | 042a069825343a987ae3c930a2caa43a3d997d88 (patch) | |
tree | cb58fe5dfb73b3bcd08b8ab50d7b6d69cbd66b6f /src/cmd | |
parent | baf127ad04f451979086f3ef1caea22a06748cec (diff) | |
download | plan9port-042a069825343a987ae3c930a2caa43a3d997d88.tar.gz plan9port-042a069825343a987ae3c930a2caa43a3d997d88.tar.bz2 plan9port-042a069825343a987ae3c930a2caa43a3d997d88.zip |
devdraw: clear altdown on focus out (thanks Ethan Burns)
TBR=rsc
https://codereview.appspot.com/53820044
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/devdraw/x11-srv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/devdraw/x11-srv.c b/src/cmd/devdraw/x11-srv.c index b9343913..17563f41 100644 --- a/src/cmd/devdraw/x11-srv.c +++ b/src/cmd/devdraw/x11-srv.c @@ -625,6 +625,7 @@ runxevent(XEvent *xev) * so clear out the keyboard state when we lose the focus. */ kstate = 0; + altdown = 0; abortcompose(); break; |