Added workaround for the issue that skins disappear when resuming from sleep mode.

http://rainmeter.net/forum/viewtopic.php?f=5&t=11313
This commit is contained in:
spx
2012-02-20 15:33:13 +00:00
parent 0fec35edaa
commit 3254520ced
4 changed files with 35 additions and 7 deletions

View File

@ -2921,7 +2921,7 @@ void CMeterWindow::Update(bool nodraw)
// If our option is to disable when in an RDP session, then check if in an RDP session.
// Only redraw if we are not in a remote session
if (!m_Rainmeter->GetDisableRDP() || !GetSystemMetrics(SM_REMOTESESSION))
if (m_Rainmeter->IsRedrawable())
{
Redraw();
}