Question

Is it possible to create a window with only Minimize and Close button (and preferably not re-sizable) in C++ and XLib? On my Ubuntu I can see some of these type of windows (like the System Configuration window).

I am very new in the Linux+X11 world and I want to create a small window like this. How would this be done (not asking for code but for some references to the API components that would be of use or techniques that you know)?

Était-ce utile?

La solution

You need to set _NET_WM_ACTION_MINIMIZE and _NET_WM_ACTION_RESIZE as the list of allowed actions for your window

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top