Commit 6bcde52d8880565b907f3e80c317517514010c4a

Dean Herbert 2022-07-24T20:19:16

Further adjust implementation of `Cocoa_GetWindowDisplayIndex` As discussed in PR review, there may be an off-chance that the index returned doesn't match up with SDL's display indexing. This change ensures that the indices match and adds a safety check for off-screen windows.