Fix a deadlock with changing renderer and status bar activity
This commit is contained in:
committed by
David Hrdlička
parent
ce51518bd7
commit
302143eafb
@@ -149,7 +149,7 @@ ui_sb_update_icon(int tag, int active)
|
|||||||
if ((found != 0xff) && ((sb_part_icons[found] ^ active) & 1) && active) {
|
if ((found != 0xff) && ((sb_part_icons[found] ^ active) & 1) && active) {
|
||||||
sb_part_icons[found] |= 1;
|
sb_part_icons[found] |= 1;
|
||||||
|
|
||||||
SendMessage(hwndSBAR, SB_SETICON, found,
|
PostMessage(hwndSBAR, SB_SETICON, found,
|
||||||
(LPARAM)hIcon[sb_part_icons[found]]);
|
(LPARAM)hIcon[sb_part_icons[found]]);
|
||||||
|
|
||||||
SetTimer(hwndMain, 0x8000 | found, 75, NULL);
|
SetTimer(hwndMain, 0x8000 | found, 75, NULL);
|
||||||
@@ -157,6 +157,7 @@ ui_sb_update_icon(int tag, int active)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* API: This is for the drive state indicator. */
|
/* API: This is for the drive state indicator. */
|
||||||
void
|
void
|
||||||
ui_sb_update_icon_state(int tag, int state)
|
ui_sb_update_icon_state(int tag, int state)
|
||||||
|
|||||||
Reference in New Issue
Block a user