summaryrefslogtreecommitdiff
path: root/zen/scroll_window_under_cursor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zen/scroll_window_under_cursor.cpp')
-rw-r--r--zen/scroll_window_under_cursor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/zen/scroll_window_under_cursor.cpp b/zen/scroll_window_under_cursor.cpp
index ccc00bcf..76a5ab4a 100644
--- a/zen/scroll_window_under_cursor.cpp
+++ b/zen/scroll_window_under_cursor.cpp
@@ -49,9 +49,9 @@ LRESULT CALLBACK mouseInputHook(int nCode, WPARAM wParam, LPARAM lParam)
return ::CallNextHookEx(nullptr, nCode, wParam, lParam);
}
-struct Dummy
+struct InstallMouseHook
{
- Dummy()
+ InstallMouseHook()
{
hHook = ::SetWindowsHookEx(WH_GETMESSAGE, //__in int idHook,
mouseInputHook, //__in HOOKPROC lpfn,
@@ -60,7 +60,7 @@ struct Dummy
assert(hHook);
}
- ~Dummy()
+ ~InstallMouseHook()
{
if (hHook)
::UnhookWindowsHookEx(hHook);
bgstack15