Merge branch 'qPCR4vir-hotfixes-1.0.1' into hotfixes-1.0.1

This commit is contained in:
Jinhao 2015-04-11 11:23:12 +08:00
commit 2e7b0ebc89

View File

@ -1101,7 +1101,7 @@ namespace detail
case WM_MOUSEHWHEEL: case WM_MOUSEHWHEEL:
{ {
//The focus window receives the message in Windows system, it should be redirected to the hovered window //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); auto pointer_wd = ::WindowFromPoint(scr_pos);
if (pointer_wd == root_window) if (pointer_wd == root_window)
{ {