This patch fixes a small problem which only rarely occurs especially if a
window only exists for a very short time.

(C) 2007-11-05 Ralf Hoffmann
License: GPL V2 or later

diff -purN WindowMaker-0.92.0/src/window.c WindowMaker-0.92.0-rh1/src/window.c
--- WindowMaker-0.92.0/src/window.c	2005-07-01 02:56:11.000000000 +0200
+++ WindowMaker-0.92.0-rh1/src/window.c	2007-11-05 22:05:01.000000000 +0100
@@ -701,7 +701,7 @@ wManageWindow(WScreen *scr, Window windo
     Bool raise = False;
 
     /* mutex. */
-    /* XGrabServer(dpy); */
+    XGrabServer(dpy);
     XSync(dpy, False);
     /* make sure the window is still there */
     if (!XGetWindowAttributes(dpy, window, &wattribs)) {
