Title: [96800] trunk/Source/WebKit2
- Revision
- 96800
- Author
- [email protected]
- Date
- 2011-10-06 04:23:13 -0700 (Thu, 06 Oct 2011)
Log Message
[Qt][WK2][Mac] QtWebProcess should not show up in the Dock.
https://bugs.webkit.org/show_bug.cgi?id=69432
We can set the environment variable QT_MAC_DISABLE_FOREGROUND_APPLICATION_TRANSFORM
in the WebProcess stub to disable the automatic foreground transformation.
Patch by Zeno Albisser <[email protected]> on 2011-10-06
Reviewed by Andreas Kling.
* UIProcess/Launcher/qt/ProcessLauncherQt.cpp:
(WebKit::QtWebProcess::setupChildProcess):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (96799 => 96800)
--- trunk/Source/WebKit2/ChangeLog 2011-10-06 10:53:07 UTC (rev 96799)
+++ trunk/Source/WebKit2/ChangeLog 2011-10-06 11:23:13 UTC (rev 96800)
@@ -1,3 +1,16 @@
+2011-10-06 Zeno Albisser <[email protected]>
+
+ [Qt][WK2][Mac] QtWebProcess should not show up in the Dock.
+ https://bugs.webkit.org/show_bug.cgi?id=69432
+
+ We can set the environment variable QT_MAC_DISABLE_FOREGROUND_APPLICATION_TRANSFORM
+ in the WebProcess stub to disable the automatic foreground transformation.
+
+ Reviewed by Andreas Kling.
+
+ * UIProcess/Launcher/qt/ProcessLauncherQt.cpp:
+ (WebKit::QtWebProcess::setupChildProcess):
+
2011-10-03 Andy Estes <[email protected]>
Add an option to suppress rendering until the document's load event fires.
Modified: trunk/Source/WebKit2/UIProcess/Launcher/qt/ProcessLauncherQt.cpp (96799 => 96800)
--- trunk/Source/WebKit2/UIProcess/Launcher/qt/ProcessLauncherQt.cpp 2011-10-06 10:53:07 UTC (rev 96799)
+++ trunk/Source/WebKit2/UIProcess/Launcher/qt/ProcessLauncherQt.cpp 2011-10-06 11:23:13 UTC (rev 96800)
@@ -50,7 +50,7 @@
#include <wtf/PassRefPtr.h>
#include <wtf/Threading.h>
#include <wtf/text/WTFString.h>
-#if defined Q_OS_LINUX
+#if defined(Q_OS_LINUX)
#include <sys/prctl.h>
#include <signal.h>
#endif
@@ -74,13 +74,16 @@
void QtWebProcess::setupChildProcess()
{
-#if defined Q_OS_LINUX
+#if defined(Q_OS_LINUX)
#ifndef NDEBUG
if (getenv("QT_WEBKIT_KEEP_ALIVE_WEB_PROCESS"))
return;
#endif
prctl(PR_SET_PDEATHSIG, SIGKILL);
#endif
+#if defined(Q_OS_MACX)
+ qputenv("QT_MAC_DISABLE_FOREGROUND_APPLICATION_TRANSFORM", QByteArray("1"));
+#endif
}
void ProcessLauncher::launchProcess()
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes