mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-25 02:48:50 +02:00
x11: Dynamically update the scale factor
If the text-scaling-factor setting is available via D-Bus, add a listener and update the content scale values for the displays if the value is changed during runtime. Factors out the D-Bus message pump from the system theme detection code to the general D-Bus code, as it's now used for more purposes than just the system theme.
This commit is contained in:
committed by
Sam Lantinga
parent
068d3da366
commit
d5f07730be
@@ -26,6 +26,5 @@
|
||||
|
||||
extern SDL_bool SDL_SystemTheme_Init(void);
|
||||
extern SDL_SystemTheme SDL_SystemTheme_Get(void);
|
||||
extern void SDL_SystemTheme_PumpEvents(void);
|
||||
|
||||
#endif /* SDL_system_theme_h_ */
|
||||
|
||||
Reference in New Issue
Block a user