[Kde-accessibility]
[Bug 31916] window.focus() does not raise window
Daniel Molkentin
molkentin at kde.org
Tue Apr 22 17:56:29 CEST 2003
------- You are receiving this mail because: -------
You are a voter for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=31916
molkentin at kde.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From molkentin at kde.org 2003-04-22 18:56 -------
Subject: kdelibs/khtml/ecma
CVS commit by danimo:
Patch by Ferdinand Gassauer: Properly support window.focus()
CCMAIL:31916-done at bugs.kde.org
M +3 -1 kjs_window.cpp 1.334
--- kdelibs/khtml/ecma/kjs_window.cpp #1.333:1.334
@@ -1268,6 +1268,8 @@ Value WindowFunc::tryCall(ExecState *exe
KHTMLSettings::KJSWindowFocusPolicy policy =
part->settings()->windowFocusPolicy(part->url().host());
- if(policy == KHTMLSettings::KJSWindowFocusAllow && widget)
+ if(policy == KHTMLSettings::KJSWindowFocusAllow && widget) {
+ widget->topLevelWidget()->raise();
widget->setActiveWindow();
+ }
return Undefined();
}
More information about the kde-accessibility
mailing list