I am working on an old Motif based software application for Linux. I want to be able to programmatically change the active window of our application. I can redirect the input with the XSetInputFocus () function, and the beginning of the keyboard input will start, but the XReconfigureWMWindow () and XRaiseWindow () functions just don't work.
I read that window managers are trying to stop this behavior, so I tried to disable configure redirection, but that won't work either. Any ideas how to make one of my own windows on top of the window stack?
source
share