"Z" windows position lock I frequently running into strange problem on Lion: my windows constantly being locked on z position (sometimes you can see this feature in some apps as "Window->Stay in Front/Behind"). But I really don't understand why is this happening, windows in this apps haven't such a feature (Preview is example).
I'm heavily using keyboard shortcuts and suspect that I'm just accidentally triggering some system shortcuts for locking windows.
Am I right, does such exists? If not, what can be responsible for such a behavior?
If you switch applications while you launch an application it can lead to the frontmost window being not the active window. This is a problem I encounter quite often, it also happens when you launch an application and another one spawns a window. I'm unsure if you mean this, but it seems to be normal behavior. Looks like



In this case, the iTunes window is the frontmost window (recognizable by its buttons drawn colored), while iTerms window is drawn over the iTunes window. iTunes is also the active application as you can see on the menubar.