SDL/src/video
Sam Lantinga 1c9595b16f Fixed bug 4415 - SDL menu bar is nonstandard on Mac
foo.null

I'm on macOS 10.14 and I think I'm using or around SDL 2.0.9. This is about the menu bar that SDL sets up which looks like:

<App Name> <Window> <View>

1. View menu never proceeds after the Window menu in any Mac application (it is always before).
2. For SDL, the only purpose of the View menu is for a single fullscreen menu item, which is not justifiable enough to reserve space for a menu. The View menu should thus be removed, and the full screen menu item should be added at the end inside of Window's menu. See built in apps like Dictionary, Chess, App Store (on 10.14) that do this.
3. SDL should add a "Close" menu item to the Window's submenu, and it should be the first item. Its key equivalent should map to command w. Without this, you cannot close the game window via this shortcut, and you cannot close the app's About window via this shortcut.
4. Apps typically use "Enter Full Screen" or "Exit Full Screen" depending on context, not "Toggle Full Screen" which is less user friendly -- I personally care about this point the least.
2018-12-08 11:06:40 -08:00
..
android Fix warnings detected on Android build 2018-12-06 09:22:00 +01:00
cocoa Fixed bug 4415 - SDL menu bar is nonstandard on Mac 2018-12-08 11:06:40 -08:00
directfb directfb: Updated render backend to new internal API. 2018-12-02 02:33:06 -05:00
dummy Add and update include guards 2018-10-28 21:36:48 +01:00
emscripten Add SDL_TouchDeviceType enum and SDL_GetTouchDeviceType(SDL_TouchID id). 2018-11-10 16:15:48 -04:00
haiku Fixed whitespace 2018-09-24 11:49:25 -07:00
khronos Added Vulkan headers version 1.1.91 2018-11-06 16:57:07 -08:00
kmsdrm kmsdrm: Check for resources when validating KMSDRM device in check_modesetting. 2018-12-01 16:31:56 -05:00
nacl Updated copyright for 2018 2018-01-03 10:03:25 -08:00
pandora Updated copyright for 2018 2018-01-03 10:03:25 -08:00
psp Updated copyright for 2018 2018-01-03 10:03:25 -08:00
qnx Fixed mingw Windows build, since SDL_vulkan_internal.h includes windows.h 2017-08-28 00:43:14 -07:00
raspberry Fixed the hotspot for cursors on Raspberry Pi 2018-11-27 11:16:04 -08:00
uikit Add SDL_TouchDeviceType enum and SDL_GetTouchDeviceType(SDL_TouchID id). 2018-11-10 16:15:48 -04:00
vivante Updated copyright for 2018 2018-01-03 10:03:25 -08:00
wayland wayland: Do not try to lock on an invalid pointer 2018-12-06 10:39:33 -05:00
windows Add SDL_TouchDeviceType enum and SDL_GetTouchDeviceType(SDL_TouchID id). 2018-11-10 16:15:48 -04:00
winrt Add SDL_TouchDeviceType enum and SDL_GetTouchDeviceType(SDL_TouchID id). 2018-11-10 16:15:48 -04:00
x11 Add SDL_TouchDeviceType enum and SDL_GetTouchDeviceType(SDL_TouchID id). 2018-11-10 16:15:48 -04:00
yuv2rgb yuv: Patched to make static analysis happy (warned about unused variable). 2018-06-25 13:14:52 -04:00
SDL_blit.c revert the recent typecast assignment changes (see bug #4079) 2018-02-12 17:00:00 +03:00
SDL_blit.h SDL_blit_N.c (BlitNtoNKeyCopyAlpha): fix -Wshadow warnings by adding _ 2018-10-01 21:29:11 +03:00
SDL_blit_0.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_blit_1.c Fixed whitespace 2018-09-24 11:49:25 -07:00
SDL_blit_A.c Fixed whitespace 2018-09-24 11:49:25 -07:00
SDL_blit_auto.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_blit_auto.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_blit_copy.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_blit_copy.h Add and update include guards 2018-10-28 21:36:48 +01:00
SDL_blit_N.c Working on bug 3921 - Add some Fastpath to BlitNtoNKey and BlitNtoNKeyCopyAlpha 2018-10-01 14:43:03 -07:00
SDL_blit_slow.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_blit_slow.h Add and update include guards 2018-10-28 21:36:48 +01:00
SDL_bmp.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_clipboard.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_egl.c Fixed bug 4349 - SDL_CreateWindow fails with KMS/DRM after upgrading Mesa to 18.2.3 2018-10-31 15:16:51 -07:00
SDL_egl_c.h Fixed bug 4349 - SDL_CreateWindow fails with KMS/DRM after upgrading Mesa to 18.2.3 2018-10-31 15:16:51 -07:00
SDL_fillrect.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_pixels.c Fixed whitespace 2018-09-24 11:49:25 -07:00
SDL_pixels_c.h Add and update include guards 2018-10-28 21:36:48 +01:00
SDL_rect.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_rect_c.h Add and update include guards 2018-10-28 21:36:48 +01:00
SDL_RLEaccel.c Fix warnings detected on Android build 2018-12-06 09:22:00 +01:00
SDL_RLEaccel_c.h Add and update include guards 2018-10-28 21:36:48 +01:00
SDL_shape.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_shape_internals.h Fixed whitespace 2018-09-24 11:49:25 -07:00
SDL_stretch.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_surface.c Fixed bug 4277 - warnings patch 2018-09-27 14:56:29 -07:00
SDL_sysvideo.h mir: Removed mir client support. 2018-11-02 21:34:17 -04:00
SDL_video.c mir: Removed mir client support. 2018-11-02 21:34:17 -04:00
SDL_vulkan_internal.h mir: Removed mir client support. 2018-11-02 21:34:17 -04:00
SDL_vulkan_utils.c Fixed whitespace 2018-09-24 11:49:25 -07:00
SDL_yuv.c Fixed bug 4277 - warnings patch 2018-09-27 14:56:29 -07:00
SDL_yuv_c.h Add and update include guards 2018-10-28 21:36:48 +01:00
sdlgenblit.pl Updated copyright for 2018 2018-01-03 10:03:25 -08:00