You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add client config options to control process priorities: ClHighProcessPriority (set DDNet process/thread to high) and ClDiscordNormalProcessPriority (lower Discord processes to normal). Implement Windows-specific logic to apply/reset the DDNet process/thread priority and to scan/process Discord executables and set their priority via a background thread. Expose a new component callback OnFocusChange and wire GameClient to detect window focus changes and notify components so priority can be reapplied on focus. Add UI controls in the settings (Performance) to toggle these options and a console chain handler to apply changes immediately. Threading and atomic flags are used to manage the Discord-priority worker; behavior is guarded by platform-specific (Windows) includes and APIs.
0 commit comments