SDL/src/video/cocoa
Dean Herbert 6bcde52d88 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.
2022-07-24 09:25:16 -07:00
..
SDL_cocoaclipboard.h macOS: always use Objective-C ARC (automatic ref counting). 2022-05-09 21:53:40 -07:00
SDL_cocoaclipboard.m macOS: always use Objective-C ARC (automatic ref counting). 2022-05-09 21:53:40 -07:00
SDL_cocoaevents.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_cocoaevents.m Fix C89 declaration for macOS modules. 2022-06-27 15:19:40 -07:00
SDL_cocoakeyboard.h make SDL_SetTextInputRect take a pointer to const 2022-07-04 09:38:01 -07:00
SDL_cocoakeyboard.m make SDL_SetTextInputRect take a pointer to const 2022-07-04 09:38:01 -07:00
SDL_cocoamessagebox.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_cocoamessagebox.m Fix C89 declaration for macOS modules. 2022-06-27 15:19:40 -07:00
SDL_cocoametalview.h Leave the Metal view active on the window when recreating the Metal renderer 2022-01-07 12:38:45 -08:00
SDL_cocoametalview.m macOS: remove dead code for supporting 10.6 at runtime. 2022-05-10 14:04:14 -07:00
SDL_cocoamodes.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_cocoamodes.m Fix C89 declaration for macOS modules. 2022-06-27 15:19:40 -07:00
SDL_cocoamouse.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_cocoamouse.m Fixed some Xcode warnings 2022-07-17 09:07:04 -07:00
SDL_cocoaopengl.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_cocoaopengl.m Fix C89 declaration for macOS modules. 2022-06-27 15:19:40 -07:00
SDL_cocoaopengles.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_cocoaopengles.m Fix C89 declaration for macOS modules. 2022-06-27 15:19:40 -07:00
SDL_cocoashape.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_cocoashape.m Fix C89 declaration for macOS modules. 2022-06-27 15:19:40 -07:00
SDL_cocoavideo.h macOS: remove dead code for supporting 10.6 at runtime. 2022-05-10 14:04:14 -07:00
SDL_cocoavideo.m macOS: remove dead code for supporting 10.6 at runtime. 2022-05-10 14:04:14 -07:00
SDL_cocoavulkan.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_cocoavulkan.m Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_cocoawindow.h macOS: Fix reference counts of internal window data. 2022-05-16 18:17:27 -07:00
SDL_cocoawindow.m Further adjust implementation of Cocoa_GetWindowDisplayIndex 2022-07-24 09:25:16 -07:00