зеркало из https://github.com/mozilla/gecko-dev.git
Bug 236484: check for the attributes "focused" and "_moz-menuactive" in WidgetStateChanged. r+sr=bz
This commit is contained in:
Родитель
a58d650d2b
Коммит
56dd169978
|
@ -622,7 +622,8 @@ nsNativeThemeGTK::WidgetStateChanged(nsIFrame* aFrame, PRUint8 aWidgetType,
|
|||
// disabled, checked, dlgtype, default, etc.
|
||||
*aShouldRepaint = PR_FALSE;
|
||||
if (aAttribute == mDisabledAtom || aAttribute == mCheckedAtom ||
|
||||
aAttribute == mSelectedAtom)
|
||||
aAttribute == mSelectedAtom || aAttribute == mFocusedAtom ||
|
||||
aAttribute == mMenuActiveAtom)
|
||||
*aShouldRepaint = PR_TRUE;
|
||||
}
|
||||
|
||||
|
|
|
@ -622,7 +622,8 @@ nsNativeThemeGTK::WidgetStateChanged(nsIFrame* aFrame, PRUint8 aWidgetType,
|
|||
// disabled, checked, dlgtype, default, etc.
|
||||
*aShouldRepaint = PR_FALSE;
|
||||
if (aAttribute == mDisabledAtom || aAttribute == mCheckedAtom ||
|
||||
aAttribute == mSelectedAtom)
|
||||
aAttribute == mSelectedAtom || aAttribute == mFocusedAtom ||
|
||||
aAttribute == mMenuActiveAtom)
|
||||
*aShouldRepaint = PR_TRUE;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче