--- xcompmgr.c.AddWinDetermineMode.orig	2009-09-25 18:08:07.000000000 +0200
+++ xcompmgr.c	2009-09-25 18:07:34.000000000 +0200
@@ -1479,6 +1479,8 @@
     *p = new;
     if (new->a.map_state == IsViewable)
 	map_win (dpy, id, new->damage_sequence - 1, True);
+    else
+	determine_mode (dpy, new);
 }
 
 static void
