diff options
author | June McEnroe <june@causal.agency> | 2022-01-22 16:37:49 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-01-22 16:37:49 -0500 |
commit | 45920fb82becbd18c07dad1480929b3e37110ff8 (patch) | |
tree | 2ff924f39c6ff4cacc4dd214024f5056b921e7b5 | |
parent | Build macOS .app bundles (diff) | |
download | wep-45920fb82becbd18c07dad1480929b3e37110ff8.tar.gz wep-45920fb82becbd18c07dad1480929b3e37110ff8.zip |
Enable ctrl-click right-click emulation in freecell
Diffstat (limited to '')
-rw-r--r-- | freecell.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/freecell.c b/freecell.c index 16b13f8..dd1cc3d 100644 --- a/freecell.c +++ b/freecell.c @@ -529,6 +529,8 @@ int main(int argc, char *argv[]) { if (SDL_Init(SDL_INIT_VIDEO) < 0) err("SDL_Init"); atexit(SDL_Quit); + SDL_SetHint(SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK, "1"); + struct Paths paths; if (assetPaths(&paths) < 0) err("SDL_GetPrefPath"); |