title: How to create a X window to perform another program or Set one window alway on top
body: <p>I get 2 independent programs (A &amp; B) on Linux Redhat, developed by <strong>Motif</strong> toolkit based on <strong>X window</strong>.
  These 2 programs all have there own human-machine-interface.
  and there come the questions:
  When displaying these 2 programs on the same desktop, how can i set one program's interface alway on the top-level? the current situation is when i run them on the same desktop, and i click on program A(fullscreen), the program B(one small window) will lower down behind the program A and cannot be seen unless using alt+Tab to change between them, which is unacceptable.</p>
  
  <p>I want to display program B always on the top-level when click program A, it would not lower down.
  Or can i set the program B display on one window insert into program A? if it is possible, how to realize it on Motif X window? using motif x window in one program to display another program's interface.</p>
  
  <p>Looking forward to ur advice, even i know there are few people still using Motif as a toolkit to build an interface. but it is too hard to rebuild the whole program which is an industrial-grade product.</p>