I created a PyGTK application that should always be on top. The transparent window redirects the mouse clicks to the window below and therefore goes out of focus when you click the button in the sublayer. This is the intended behavior. In fact, it should just show a small image, which is always above all.
This works well if you are not using something like the full screen view of libreoffice. The presentation window is also marked as always on top , and therefore my window goes into the background. Even if I take it to the foreground using Alt+Tab , and then click on the bottom layer of the libreoffice slide (which is necessary), my window again falls into the background.
This is a really specific question, and the solution should work on both Linux and Windows. I have no idea what to do. I just found many questions about how to always have windows on top, but none of them cover my problem.
In short: How can I put my window always on top of every window that is always on top?
source share