plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 042a069825343a987ae3c930a2caa43a3d997d88
parent baf127ad04f451979086f3ef1caea22a06748cec
Author: Russ Cox <rsc@swtch.com>
Date:   Wed, 22 Jan 2014 13:41:13 -0500

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

TBR=rsc
https://codereview.appspot.com/53820044

Diffstat:
Msrc/cmd/devdraw/x11-srv.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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;