Domanda

I would like to have GUI window without window decoration (title bar, borders, etc...). I use wm overrideredirect set to true, but then window manager doesn't see my application and it is not shown on taskbar or under alt+tab switch in Windows7.

Is it possible to have window without decorations but seen as normal application in window manager?

È stato utile?

Soluzione

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:

I suspect neither applies to you.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top