I'm writing a small app that handles window positions and sizes, and I'd like to disable the resize/move feature of windows using the mouse (dragging the borders or the title bar). I know this seems very anti-UX, but this is really what I need.
I'd need to do that in a way that all new windows are created without the ability to be resized/moved.
Related to how-to-resize-a-pixmap-with-xlib.
As it was concluded in the abovementioned topic, it's impossible to resize a pixmap. What about window, after pixmap is copied into it? In the example below, everything is good up to the point where the window is being resized. The icon is drawn after it's copied into the window, but is lost after the window is resized.