• Alx Sa's avatar
    gui: Change Windows title bar based on theme · ad8b47bf
    Alx Sa authored
    On Windows, the title bar can be set to light or dark mode via DwmSetWindowAttribute ().
    This adds code to update the main title bar and dialogue title bars based on the current theme.
    The main title bar uses "prefer-dark-theme", while the dialogue title bars
    uses the color of the widget background to assume the correct color.