diff options
Diffstat (limited to 'plugins/BossKeyPlus/src/BossKeyIdle.cpp')
-rw-r--r-- | plugins/BossKeyPlus/src/BossKeyIdle.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/BossKeyPlus/src/BossKeyIdle.cpp b/plugins/BossKeyPlus/src/BossKeyIdle.cpp index 20d5163410..be04729ef5 100644 --- a/plugins/BossKeyPlus/src/BossKeyIdle.cpp +++ b/plugins/BossKeyPlus/src/BossKeyIdle.cpp @@ -32,9 +32,8 @@ VOID CALLBACK IdleTimer(HWND hwnd, UINT umsg, UINT idEvent, DWORD dwTime); static bool IsUserIdle()
{
- DWORD dwTick;
if (g_wMaskAdv & OPT_HIDEIFMIRIDLE) {
- CallService(MS_SYSTEM_GETIDLE, 0, (LPARAM)&dwTick);
+ DWORD dwTick = Miranda_GetIdle();
return GetTickCount() - dwTick > (minutes * 60 * 1000);
}
|