diff options
| -rw-r--r-- | st.c | 5 | 
1 files changed, 5 insertions, 0 deletions
| @@ -2986,6 +2986,11 @@ xseturgency(int add) {  void  focus(XEvent *ev) { +	XFocusChangeEvent *e = &ev->xfocus; + +	if(e->mode == NotifyGrab) +		return; +  	if(ev->type == FocusIn) {  		XSetICFocus(xw.xic);  		xw.state |= WIN_FOCUSED; | 
