We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9e8e46 commit 1a118edCopy full SHA for 1a118ed
src/subprocess/cefpython_app.cpp
@@ -177,11 +177,13 @@ void CefPythonApp::OnBeforeChildProcessLaunch(
177
#ifdef BROWSER_PROCESS
178
// This is included only in the Browser process, when building
179
// the libcefpythonapp library.
180
+#if defined(OS_WINDOWS)
181
if (IsProcessDpiAware()) {
182
// It is required to set DPI awareness in subprocesses
183
// as well, see Issue #358.
184
command_line->AppendSwitch("enable-high-dpi-support");
185
}
186
+#endif // OS_WINDOWS
187
BrowserProcessHandler_OnBeforeChildProcessLaunch(command_line);
188
#endif // BROWSER_PROCESS
189
0 commit comments