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.
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......)
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.
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.
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......)
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.