Index: metacity//ChangeLog
===================================================================
RCS file: /export/cvs/gnome-2.0/metacity/ChangeLog,v
retrieving revision 1.770
diff -p -u -5 -r1.770 ChangeLog
--- metacity//ChangeLog	2003/11/26 18:11:56	1.770
+++ metacity//ChangeLog	2003/11/27 06:45:40
@@ -1,5 +1,10 @@
+2003-11-27  Arvind Samptur  <arvind.samptur@wipro.com>
+
+	* src/stack.c (get_standalone_layer) : Get the layer
+	right for transients of DOCK layer.
+	Fixes #126427
 2003-11-26  Rob Adams  <readams@readams.net>
 
 	* COMPLIANCE: fix a couple of minor typos.
 
 2003-11-24  Havoc Pennington  <hp@redhat.com>
Index: metacity//src/stack.c
===================================================================
RCS file: /export/cvs/gnome-2.0/metacity/src/stack.c,v
retrieving revision 1.67
diff -p -u -5 -r1.67 stack.c
--- metacity//src/stack.c	2003/08/19 20:10:45	1.67
+++ metacity//src/stack.c	2003/11/27 06:45:41
@@ -268,11 +268,14 @@ get_standalone_layer (MetaWindow *window
         layer = META_LAYER_BOTTOM;
       else if ((window->has_focus || focused_transient ||
                 (window == window->display->expected_focus_window)) &&
                (window->fullscreen || window_is_fullscreen_size (window)))
         layer = META_LAYER_FULLSCREEN;
-      else if (window->wm_state_above)
+      else if (window->wm_state_above ||
+               (window->xtransient_for != None &&
+                !window->transient_parent_is_root_window &&
+                (meta_display_lookup_x_window (window->display, window->xtransient_for)->layer == META_LAYER_DOCK)))
         layer = META_LAYER_DOCK;
       else
         layer = META_LAYER_NORMAL;
       break;
     }
