aboutsummaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorAdrian Wowk <dev@adrianwowk.com>2023-10-29 22:41:19 -0400
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-11-07 13:08:49 +0100
commit547ec5a0a4f697323e313062fabdebefc964eb97 (patch)
tree2039e5d8c607cb712b2dfb24a58878acc6a0da6d /.gdbinit
parent51145a0d872f58a7fed32f999af39f9b10ebd38c (diff)
ui/sdl2: use correct key names in win title on mac
Previously, when using the SDL2 UI on MacOS, the title bar uses incorrect key names (such as Ctrl and Alt instead of the standard MacOS key symbols like ⌃ and ⌥). This commit changes sdl_update_caption in ui/sdl2.c to use the correct symbols when compiling for MacOS (CONFIG_DARWIN is defined). Unfortunately, standard Mac keyboards do not include a "Right-Ctrl" key, so in the case that the SDL grab mode is set to HOT_KEY_MOD_RCTRL, the default text is still used. Signed-off-by: Adrian Wowk <dev@adrianwowk.com> Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20231030024119.28342-1-dev@adrianwowk.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to '.gdbinit')
0 files changed, 0 insertions, 0 deletions