I didn’t find it very ergonomic!
It was still happening six months after I started using a Mac and I’ve never had that issue on PC.
If it was more obvious which window was in focus when you have a bunch of non-maximized screens open without having to stop and read some text, I might be temped to call it user-friendly.
Active window titlebars are darker than inactive window titlebars.