focused_screen_y and focused_screen_x

Is it expected focused_screen_y to be always 0 and focused_screen_x to be != 0 only when the focused screen is not the main one? I've found this comment, but not sure 100% if it is related.

If the focused screen is the MacBook's internal screen both x and y have values.

that depends, if both of your screens have the same Y offset then it will be the same for both of them but X will still be different (if your screens are positioned left/right of each other)

Not sure what do you mean. Here's the layout:

Is this expected with this setup or you need more info than that?

in that case the two top displays would have the same y (=0) but the bottom one a different y.

All of them would have different x values

The macOS origin is at the top left corner of the screen that has the menubar (in your case the top left one)