main.c
changeset 884 e08deeb1fb07
parent 880 f330be522eca
child 885 f76d2e9ca006
equal deleted inserted replaced
883:2cbf1010be11 884:e08deeb1fb07
   243 		break;
   243 		break;
   244 	case BarOff:
   244 	case BarOff:
   245 		XMoveWindow(dpy, barwin, sx, sy - bh);
   245 		XMoveWindow(dpy, barwin, sx, sy - bh);
   246 		break;
   246 		break;
   247 	}
   247 	}
       
   248 	XRaiseWindow(dpy, barwin);
       
   249 	XSync(dpy, False);
       
   250 	while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
   248 }
   251 }
   249 
   252 
   250 /* There's no way to check accesses to destroyed windows, thus those cases are
   253 /* There's no way to check accesses to destroyed windows, thus those cases are
   251  * ignored (especially on UnmapNotify's).  Other types of errors call Xlibs
   254  * ignored (especially on UnmapNotify's).  Other types of errors call Xlibs
   252  * default error handler, which may call exit.
   255  * default error handler, which may call exit.