In OnLogCommand(), leverage TIMER_ANIMSTOP_ID to set the idle icon through the 'appli...
authorFabian Keil <fk@fabiankeil.de>
Sun, 27 May 2012 15:36:15 +0000 (15:36 +0000)
committerFabian Keil <fk@fabiankeil.de>
Sun, 27 May 2012 15:36:15 +0000 (15:36 +0000)
commit6c163ce8cb66f1fd352c87766a36892e3e4d1703
treee70957acc2f310c80056ac5ea642c1a1c8e35de4
parent0c0699b9119ae34cfe08192ce3a2746fa99f96eb
In OnLogCommand(), leverage TIMER_ANIMSTOP_ID to set the idle icon through the 'application queue'

Apparently the functions called by SetIdleIcon() aren't
thread-safe and their interaction can cause deadlocks.

An earlier version of the patch has been tested by Lee and
doesn't seem to cause obvious regressions other than the
icon change being delayed by (at least) the 10 milliseconds
until the timer fires.

This is expected to fix #3525694 reported by Tim H.
w32log.c