re-fix: Scroll don't get trigged in secondary monitor: no scroll in texbox, trebox, listbox, etc.
it was lost in commit: ed462870e0a60e1e41b2de08885387633cb66fcf
This commit is contained in:
parent
f11e5efe80
commit
5a34e430f0
@ -1102,7 +1102,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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user