The behavior I'm seeing is that the window is always on top, but the window below is active, which means it reacts to clicks.
I made some tests and it seems that setting the parent to NULL and removing Qt::FramelessWindowHint make it work correctly. Is this the expected behavior?
Thanks for your help!
Bookmarks