devdraw: do not interpret alt-tab as alt for compose
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5132050
This commit is contained in:
parent
6135b41c7d
commit
4b58d45707
4 changed files with 17 additions and 2 deletions
|
|
@ -36,7 +36,7 @@
|
|||
Button2MotionMask|\
|
||||
Button3MotionMask)
|
||||
|
||||
#define Mask MouseMask|ExposureMask|StructureNotifyMask|KeyPressMask|EnterWindowMask|LeaveWindowMask
|
||||
#define Mask MouseMask|ExposureMask|StructureNotifyMask|KeyPressMask|EnterWindowMask|LeaveWindowMask|FocusChangeMask
|
||||
|
||||
typedef struct Kbdbuf Kbdbuf;
|
||||
typedef struct Mousebuf Mousebuf;
|
||||
|
|
@ -549,6 +549,10 @@ runxevent(XEvent *xev)
|
|||
matchkbd();
|
||||
break;
|
||||
|
||||
case FocusOut:
|
||||
abortcompose();
|
||||
break;
|
||||
|
||||
case SelectionRequest:
|
||||
_xselect(xev);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue