From 5a34e430f02c2092a6a77073c49b195168a709e0 Mon Sep 17 00:00:00 2001 From: qPCR4vir Date: Tue, 21 Apr 2015 14:24:32 +0200 Subject: [PATCH] re-fix: Scroll don't get trigged in secondary monitor: no scroll in texbox, trebox, listbox, etc. it was lost in commit: ed462870e0a60e1e41b2de08885387633cb66fcf --- source/gui/detail/win32/bedrock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/gui/detail/win32/bedrock.cpp b/source/gui/detail/win32/bedrock.cpp index 9313a588..94e90e23 100644 --- a/source/gui/detail/win32/bedrock.cpp +++ b/source/gui/detail/win32/bedrock.cpp @@ -1102,7 +1102,7 @@ namespace detail case WM_MOUSEHWHEEL: { //The focus window receives the message in Windows system, it should be redirected to the hovered window - ::POINT scr_pos{ int(LOWORD(lParam)), int(HIWORD(lParam)) }; //Screen position + ::POINT scr_pos{ pmdec.mouse.x, pmdec.mouse.y}; //Screen position auto pointer_wd = ::WindowFromPoint(scr_pos); if (pointer_wd == root_window) {