From: chisheng huang
Subject: How to tell Mwm not to add title bars to transient windows?
Date: 
Message-ID: <3nivkg$emn@gate.sinica.edu.tw>
Does anybody know how to tell Mwm not to add title bars to transient 
windows?  Setting xlib:transient-for of a window to the root window 
will make Twm not to add a title bar but has no effect on Mwm.  

Any help would be appreciated.  Thank you.

Chisheng Huang

;;======== test code included =======================================
;; CLX R5
;; X11R5
;; Allegro CL 4.2 and CMU CL 17f
;; Sun SPARCstation 10/41
;; Motif 1.2.1

(setf display
  #+:cmu (ext:open-clx-display)
  #+:excl (xlib:open-display "140.109.74.147" :display 0.0))

(setf (xlib:display-after-function display)
  #'xlib:display-finish-output)

(setf screen
  (first (xlib:display-roots display)))

(setf root-window
  (xlib:screen-root screen))

(setf win0
  (xlib:create-window :parent root-window
	   	      :x 0 :y 0
 		      :width 256
	  	      :height 256
		      :background (xlib:screen-white-pixel screen)))

(xlib:map-window win0)


;; I don't want any titlebar for win1.
(setf win1
  (xlib:create-window :parent root-window
		      :x 0 :y 0
		      :width 256
		      :height 256
		      :background (xlib:screen-white-pixel screen)))

(setf (xlib:transient-for win1) root-window)

(xlib:map-window win1)