A window without window...

I have to port a linux/X11 application to QNX/photon. The core part is
done, now, I have to work on the graphics. In X11. I have a window without
decorations that can be move (XMoveWindow()) and (un)hide
(XMapWindow/XUnmapWindow). In Photon (I’m a real newbie) all I found to
have the window without decoration is to use a “PhRegion_t” and blast my
picture in it. Is there an other way? I don’t want to create/destroy my
region every time my “display” is showing or hided.

Thanks,

Nicolas

Answered in qnx.public.qnxrtp.porting.
abridged version:

Unset the flag Ph_WM_RENDER_BORDER in Pt_ARG_WINDOW_RENDER_FLAGS
resource for PtWindow.

Nicolas wrote:

I have to port a linux/X11 application to QNX/photon. The core part is
done, now, I have to work on the graphics. In X11. I have a window without
decorations that can be move (XMoveWindow()) and (un)hide
(XMapWindow/XUnmapWindow). In Photon (I’m a real newbie) all I found to
have the window without decoration is to use a “PhRegion_t” and blast my
picture in it. Is there an other way? I don’t want to create/destroy my
region every time my “display” is showing or hided.

Thanks,

Nicolas