> when I click a window, Mac OS brings to top all windows of the respective app
Do you mean Cmd + Tab? Because this doesn't happen for me at all. When I click on a window, just that window is focused, but if I Alt + Tab to an app all those windows come to the front, which I find annoying too.
Hijacking for a quick tip I'm not sure everyone is familiar with. On macOS, most know that Cmd + Tab will cycle through the open apps. Less well-known, Cmd + ` will cycle through windows within an app.
Do you mean Cmd + Tab? Because this doesn't happen for me at all. When I click on a window, just that window is focused, but if I Alt + Tab to an app all those windows come to the front, which I find annoying too.