summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Popup/src/main.cpp')
-rw-r--r--plugins/Popup/src/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp
index 04ee826c2e..e1ba577864 100644
--- a/plugins/Popup/src/main.cpp
+++ b/plugins/Popup/src/main.cpp
@@ -237,6 +237,9 @@ static int ModulesLoaded(WPARAM, LPARAM)
LoadActions();
LoadNotifications();
+ // register idle mode switcher
+ HookEvent(ME_IDLE_CHANGED, OnIdleChanged);
+
// hook TopToolBar
HookEvent(ME_TTB_MODULELOADED, TTBLoaded);