Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
gh-20: Never smush our backup of the icon, and always reset it even i…
Browse files Browse the repository at this point in the history
…f we're not minimised at the time
  • Loading branch information
FauxFaux committed May 8, 2013
1 parent 8e3bd31 commit 8404d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion windows/window.c
Expand Up @@ -5860,6 +5860,7 @@ static void flash_window(int mode)
* HACK: PuttyTray
* Reset trayicon
*/
puttyTray.hIcon = puttyTrayFlashIcon;
if (puttyTrayVisible) {
puttyTrayFlash = FALSE;
puttyTray.hIcon = puttyTrayFlashIcon;
Expand Down Expand Up @@ -5900,7 +5901,6 @@ static void flash_window(int mode)
if (!puttyTrayFlash) {
puttyTrayFlash = TRUE;

puttyTrayFlashIcon = puttyTray.hIcon;
puttyTray.hIcon = NULL;
taskbar_addicon(conf_get_int(conf, CONF_win_name_always) ? window_name : icon_name, TRUE);
} else {
Expand Down

0 comments on commit 8404d21

Please sign in to comment.