XPhoton Window Manager

I have a working X Program that runs under DVX using the Motif Window
Manager. Since DVX is no more, I am porting it to QNX. With QNX, the
window manager allows pop up dialogs to disappear behind the current
window, but for my software it is important that they stay on top of my
app.

Does anyone know how to fix/tune this. ?

Simon

Simon Wakley
Visit our web site at <<www.cameracontrol.com>>

“Simon Wakley” <Simonospam@cameracontrol.com> wrote in message
news:l2ZHfBAV6ec6EwXj@cameracontrol.com

I have a working X Program that runs under DVX using the Motif Window
Manager. Since DVX is no more, I am porting it to QNX. With QNX, the
window manager allows pop up dialogs to disappear behind the current
window, but for my software it is important that they stay on top of my
app.

Does anyone know how to fix/tune this. ?

Hi Simon,

Have you tried setting the Ph_WM_FFRONT flag (the force front flag) in the
windows “Managed” attributes ?

If so, are you saying it doesn’t work for you ? I actually haven’t tried it
myself, but I always assumed it would work if I ever needed it.

Rennie

Thanks for your response. No I have not tried that. Unless I
misunderstand you, this is still totally an X app, and you are referring
to a Photon/Phab type of attribute not an XWindows resource. ?

In DVX the DVX window manager did not seem to allow this, but the Motif
one did, under Photon I am somewhat lost.

Simon

In article <94tg5h$1on$3@inn.qnx.com>, John Doe <john@csical.com>
writes

“Simon Wakley” <> Simonospam@cameracontrol.com> > wrote in message
news:> l2ZHfBAV6ec6EwXj@cameracontrol.com> …
I have a working X Program that runs under DVX using the Motif Window
Manager. Since DVX is no more, I am porting it to QNX. With QNX, the
window manager allows pop up dialogs to disappear behind the current
window, but for my software it is important that they stay on top of my
app.

Does anyone know how to fix/tune this. ?

Hi Simon,

Have you tried setting the Ph_WM_FFRONT flag (the force front flag) in the
windows “Managed” attributes ?

If so, are you saying it doesn’t work for you ? I actually haven’t tried it
myself, but I always assumed it would work if I ever needed it.

Rennie
\


Simon Wakley
Visit our web site at <<www.cameracontrol.com>>

“Simon Wakley” <Simonospam@cameracontrol.com> wrote in message
news:x9Xy9CAru1d6EwtR@cameracontrol.com

Thanks for your response. No I have not tried that. Unless I
misunderstand you, this is still totally an X app, and you are referring
to a Photon/Phab type of attribute not an XWindows resource. ?

I misunderstood what you were asking. By “porting” I assumed that you meant
from X to QNX’s native GUI, which is of course photon.

In DVX the DVX window manager did not seem to allow this, but the Motif
one did, under Photon I am somewhat lost.

Sorry, I can’t help here, other than re-compiling X apps under RtP I have
almost no X experience. I do know that Xphoton has a special window manager
called gtwm (not mwm). If you really want to just take your X application
verbatim, and simply gain access to the underlying real-time OS, then I
would suggest looking into simply running Xfree on neutrino, instead of
photon. I wouldn’t recommend this as a general approach, but if you have an
X app that your happy with, and it is a turnkey type app (i.e. you don’t
want to share the screen with other 3rd party RtP apps), this will give you
100% compatibility, and still give you the underlying RTOS.

Rennie