mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 20:49:27 +00:00
fixed a GlobalToLocal problem in FindWidgetHit
This commit is contained in:
parent
e4ed95edbc
commit
fed9338564
@ -1246,6 +1246,7 @@ nsWindow *child = this;
|
||||
nsWindow *deeperWindow;
|
||||
nsRect rect;
|
||||
|
||||
::GlobalToLocal(&aThePoint);
|
||||
if (this->PtInWindow(aThePoint.h,aThePoint.v))
|
||||
{
|
||||
// traverse through all the nsWindows to find out who got hit, lowest level of course
|
||||
|
Loading…
x
Reference in New Issue
Block a user