Skip to content

On macOS, SDL_SetWindowKeyboardGrab behaves inconsistently with Windows (largely ignored on macOS; cannot intercept system shortcuts) #14372

@pipiwoaini

Description

@pipiwoaini

On Windows, calling SDL_SetWindowKeyboardGrab(window, SDL_TRUE) allows an application to intercept/suppress certain system-level key combinations (implemented via a low-level keyboard hook). On macOS, the same code does not prevent system shortcuts from triggering (e.g., ⌘Tab app switching, ⌘Space Spotlight, Ctrl+Arrow for Spaces/Mission Control). This results in inconsistent behavior across platforms and significantly impacts use cases such as remote control, cloud/game streaming, emulators, and kiosk mode.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions