Change the Pause icon if paused

This commit is contained in:
David Hrdlička
2022-01-13 00:08:06 +01:00
parent e5bf6ea015
commit 88037d9bda
3 changed files with 23 additions and 6 deletions

View File

@@ -1630,6 +1630,9 @@ plat_pause(int p)
if (enable_discord)
discord_update_activity(dopause);
/* Update the toolbar */
ToolBarUpdatePause(p);
/* Send the WM to a manager if needed. */
if (source_hwnd)
PostMessage((HWND) (uintptr_t) source_hwnd, WM_SENDSTATUS, (WPARAM) !!dopause, (LPARAM) hwndMain);