Files
SDL/src
Sam Lantinga 293b8b9fd6 x11: Fix regression reading GNOME content scale
- Removed gtk-xft-dpi read from GetGlobalContentScale. Xrm either returns either the same value as gtk-xft-dpi or the integer
  scale value in cases where gtk-xft-dpi is 1.

- Refactor SDL_x11settings handlers to defer to GetGlobalContentScale

- GetGlobalContentScale is now exported and the XSettings and Gtk signal handlers now use it for consistency. This involves
  a bit of extra work reading from Xrm rather than the setting notification but ensures consistent handling based on signal
  origin and hints enabled.

- Hook both gtk-xft-dpi in SDL_x11settings. This should generally result in only one being called based on which is updated.
  Since both signal handlers defer to X11_GetGlobalContentScale this will cause the same content scale to be applied multiple
  times. The gtk-xft-dpi signal is now only used to trigger content scale updates when the XSettings notification does not occur.
2025-08-04 16:53:09 -07:00
..
2025-08-04 10:42:43 -07:00
2025-07-31 08:49:40 -07:00
2025-08-04 13:04:17 -07:00
2025-07-27 08:10:03 -07:00
2025-01-01 07:45:52 -08:00
2025-07-14 19:49:38 -04:00
2025-01-22 20:25:04 -08:00
2025-08-04 10:42:43 -07:00
2025-01-01 07:45:52 -08:00
2025-01-01 07:45:52 -08:00
2025-01-01 07:45:52 -08:00
2025-01-01 07:45:52 -08:00
2025-01-01 07:45:52 -08:00
2025-01-01 07:45:52 -08:00
2025-01-01 07:45:52 -08:00
2025-07-31 10:18:05 -07:00