mirror of https://github.com/BOINC/boinc.git
MGR: If user is not active, delay notification until he is active (Mac only)
svn path=/trunk/boinc/; revision=21089
This commit is contained in:
parent
47c81f9e34
commit
28b3e82cc0
|
@ -752,9 +752,9 @@ void CTaskBarIcon::UpdateNoticeStatus() {
|
||||||
// If Manager is hidden or in background, request user attention.
|
// If Manager is hidden or in background, request user attention.
|
||||||
if (! (wxGetApp().IsActive())) {
|
if (! (wxGetApp().IsActive())) {
|
||||||
MacRequestUserAttention(); // Bounce BOINC Dock icon
|
MacRequestUserAttention(); // Bounce BOINC Dock icon
|
||||||
#else
|
|
||||||
pFrame->RequestUserAttention();
|
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
pFrame->RequestUserAttention();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue