unsolved konqueror window.open puzzle
David Faure
faure at kde.org
Mon Nov 8 11:03:05 GMT 2004
On Monday 08 November 2004 02:29, Bsd B wrote:
> If I minimise the external window, and
> click a new link from the original window, the
> external window does not pop up and take focus,
> although the page does change to the desired link.
Fixed.
diff -u -p -r1.390 kjs_window.cpp
--- kjs_window.cpp 2 Nov 2004 10:46:44 -0000 1.390
+++ kjs_window.cpp 8 Nov 2004 10:50:06 -0000
@@ -1510,6 +1510,7 @@ Value WindowFunc::tryCall(ExecState *exe
part->settings()->windowFocusPolicy(part->url().host());
if(policy == KHTMLSettings::KJSWindowFocusAllow && widget) {
widget->topLevelWidget()->raise();
+ KWin::deIconifyWindow( widget->topLevelWidget()->winId() );
widget->setActiveWindow();
emit part->browserExtension()->requestFocus(part);
}
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kfm-devel
mailing list