--- netwm.c.orig 2007-04-06 22:34:11.000000000 +0300 +++ netwm.c 2007-07-13 14:17:36.000000000 +0300 @@ -1202,11 +1202,6 @@ TRACE ("atom net_wm_window_type_dialog detected"); c->type = WINDOW_DIALOG; c->initial_layer = WIN_LAYER_NORMAL; - /* Treat DIALOG without transient_for set as transient for group */ - if (c->transient_for == None) - { - c->transient_for = c->screen_info->xroot; - } } else if (c->type_atom == display_info->atoms[NET_WM_WINDOW_TYPE_NORMAL]) {