Help!how to remove titile bar

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

4 posts / 0 new
Last post
Help!how to remove titile bar

Submitted by Anonymous on Thu, 10/18/2001 - 02:23. Developers
I want to create a fullscreen window without title bar, this is urgent, please help me

Thanks in advance

machnone

You need the help of the window manager. For example, in FVWM95, you would set
Style "AppName" NoTitle
in its config file. The window manager is what controls an apps title bar.

Anonymous

Hi,
if your fullscreen window is a widget derived from a VendorShell you can also set the
XmNmwmDecorations resource to 0 so you remove all the decorations of the window (titlebar, resize border, minimize, maximize......)

ICS_support

As you`ve probably been able to piece together, the titlebar is under the window manager`s control, not the application`s -- which means, ultimately, that it is under the user`s control. Your application generally doesn`t have control over the user`s environment. The best that you can do is to make suggestions, in lieu of an ICCCM-compatible protocol, to various window managers that they not put titlebars (or borders) on this window.

Some people also try to make the main window override-redirect, in which case the window manager won`t handle it -- but nor will it handle other necessary arbitration e.g. for colormaps and focus.