http://www.berklix.com/~jhs/src/bsd/fixes/FreeBSD/ports/jhs/x11-wm/pwm/files/patch-za.REL=ALL.cust_rel From garyj@ Thu Jul 12 15:03:17 2001 --- focus.c.orig Sun Jun 18 14:49:39 2000 +++ focus.c Tue Jun 12 22:10:15 2001 @@ -19,6 +19,7 @@ WFrame *frame; WClientWin *cwin=NULL; Window win; + WWinObj *wo; if(WTHING_IS_UNFOCUSABLE(thing)) return; @@ -56,6 +57,11 @@ return; } + wo = winobj_of(thing); + if (wo != NULL) { + usleep(125000); /* wait 125 ms */ + raise_winobj(wo); + } XSetInputFocus(wglobal.dpy, win, RevertToParent, CurrentTime); if(cwin!=NULL && cwin->flags&CWIN_P_WM_TAKE_FOCUS)