Bug 953146 part.6 Clean up WM_MOUSEACTIVE case in nsWindow::ProcessMessage() r=jimm
This commit is contained in:
@@ -337,6 +337,20 @@ protected:
|
||||
return mTransparencyMode == eTransparencyGlass ||
|
||||
mTransparencyMode == eTransparencyBorderlessGlass;
|
||||
}
|
||||
HWND GetOwnerWnd() const
|
||||
{
|
||||
return ::GetWindow(mWnd, GW_OWNER);
|
||||
}
|
||||
bool IsOwnerForegroundWindow() const
|
||||
{
|
||||
HWND owner = GetOwnerWnd();
|
||||
return owner && owner == ::GetForegroundWindow();
|
||||
}
|
||||
bool IsPopup() const
|
||||
{
|
||||
return mWindowType == eWindowType_popup;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Event processing helpers
|
||||
|
||||
Reference in New Issue
Block a user