SDL/src/core/linux
Pino Toscano 248bcf6b29 ime: fcitx: use SDL_GetExeName() in GetAppName()
Use the existing SDL_GetExeName(), available for all the UNIX
platforms, in the internal GetAppName(); this has few advantanges:
- SDL_GetExeName() (and SDL_GetAppID() that builds on top of it) are
  used in various places already; since it caches the executable name,
  this may remove one extra read of the application name
- SDL_GetExeName() has a non-dummy implementation in more OSes than
  GetAppName(), thus providing a small improvement for this IME

As drive-by change: since SDL_GetExeName() provides a constant string,
there is no more need to allocate a new string in GetAppName(), which
is used as constant string anyway. Hence, return a constant string in
GetAppName() too.
2025-08-07 13:58:09 -07:00
..
SDL_dbus.c Add progress bar support for Linux 2025-05-10 07:53:36 -07:00
SDL_dbus.h Add progress bar support for Linux 2025-05-10 07:53:36 -07:00
SDL_evdev.c Use consistent style for pointer declarations and casts 2025-06-18 10:03:44 -07:00
SDL_evdev.h Use consistent style for pointer declarations and casts 2025-06-18 10:03:44 -07:00
SDL_evdev_capabilities.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_evdev_capabilities.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_evdev_kbd.c Use consistent style for pointer declarations and casts 2025-06-18 10:03:44 -07:00
SDL_evdev_kbd.h Use consistent style for pointer declarations and casts 2025-06-18 10:03:44 -07:00
SDL_evdev_kbd_default_accents.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_evdev_kbd_default_keymap.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_fcitx.c ime: fcitx: use SDL_GetExeName() in GetAppName() 2025-08-07 13:58:09 -07:00
SDL_fcitx.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_ibus.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_ibus.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_ime.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_ime.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_progressbar.c Fixed a few "-Wstrict-prototypes" warnings 2025-07-26 11:12:40 -07:00
SDL_progressbar.h Add progress bar support for Linux 2025-05-10 07:53:36 -07:00
SDL_system_theme.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_system_theme.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_threadprio.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_udev.c joystick: Improve Xbox controller mapping with xpad quirks (#13305) 2025-07-28 20:03:51 -07:00
SDL_udev.h joystick: Improve Xbox controller mapping with xpad quirks (#13305) 2025-07-28 20:03:51 -07:00