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)