From 45920fb82becbd18c07dad1480929b3e37110ff8 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sat, 22 Jan 2022 16:37:49 -0500 Subject: Enable ctrl-click right-click emulation in freecell --- freecell.c | 2 ++ 1 file changed, 2 insertions(+) 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"); -- cgit 1.4.1