blinking icon on bell becomes transparents after opening puttytray#20

Labels

Milestone

Assignee

3 participants

I have set puttytray to be only shown as minimized in the tray area.
When a bell is sent (screen + irssi) to putty tray, the icon blinks in the tray area, but if i click to open during a non-icon period (blinking is icon/non-icon), then on minimize the icon is transparent, thus no icon is shown but an empty area.

Well as far as I had figured it out the problem was that if cfg.beep_ind was not set to B_IND_FLASH the variable puttyTrayFlashIcon never got any value assigned (only the default value chosen by the compiler, due to being a static variable; that's also why nothing crashes later), because the last else-if-block (to maintain the flashing) was never ever entered. Therefore upon calling flash_window(0) to stop flashing the variable still would be without any proper value and when trying to reset the trayicon things would go bad of course.

Dear Chris,
I'm not an advanced developper, how to benefit from those improvments ?
I still face the transparent icon everytime I click with wrong timing when
its blinking ...
Thank you anyway, keep up the good work !
Cheers,
Tristan