diff src/frame-x.c @ 177:6075d714658b r20-3b15

Import from CVS: tag r20-3b15
author cvs
date Mon, 13 Aug 2007 09:51:16 +0200
parents 2d532a89d707
children 9ad43877534d
line wrap: on
line diff
--- a/src/frame-x.c	Mon Aug 13 09:50:16 2007 +0200
+++ b/src/frame-x.c	Mon Aug 13 09:51:16 2007 +0200
@@ -365,7 +365,11 @@
       if (NILP (rest))
 	return;
       f = XFRAME (XCAR (rest));
+
+#ifndef HAVE_WINDOWMAKER
       x_wm_maybe_store_wm_command (f);
+#endif /* HAVE_WINDOWMAKER */
+
     }
 }
 
@@ -1865,7 +1869,11 @@
       {
 	/* tell the window manager about us. */
 	x_wm_store_class_hints (shell_widget, XtName (frame_widget));
+
+#ifndef HAVE_WINDOWMAKER
 	x_wm_maybe_store_wm_command (f);
+#endif /* HAVE_WINDOWMAKER */
+
 	x_wm_hack_wm_protocols (shell_widget);
       }
 
@@ -2439,8 +2447,10 @@
   Widget w = FRAME_X_SHELL_WIDGET (f);
   Lisp_Object popup, frame;
 
+#ifndef HAVE_WINDOWMAKER
   if (FRAME_X_TOP_LEVEL_FRAME_P (f))
     x_wm_maybe_move_wm_command (f);
+#endif /* HAVE_WINDOWMAKER */
 
   /* Frames with the popup property are using other frames as their
      widget parent.  Deleting them are their parent has already been