Unfortunately, you can't. Setting the overrideredirect
flag basically puts the window outside the control of the system window manager — it's how things like menus and tooltips actually work under the covers — and it is system policy that known windows have decorations.
There are a few slight exceptions that you might be able to enable in some circumstances with wm attributes
:
- You can run in full-screen mode with
wm attributes $w -fullscreen 1
- You can tinker with
wm attibutes $w -type
to find something that has the effect you want, but only on Unix (it's a platform-specific feature).
I suspect neither applies to you.