[jcef] IJPL-211846 use out-of-process on Wayland

(cherry picked from commit 04c062c0e28974da342ed0516e3e11d005ac4930)

IJ-CR-181574

GitOrigin-RevId: e05da065a11a64655d1f6e72af985a1bc3f74e5c
This commit is contained in:
me me
2025-11-05 20:17:32 +01:00
committed by intellij-monorepo-bot
parent 1c94695eb6
commit ed24dddf97

View File

@@ -122,11 +122,9 @@ public final class JBCefApp {
if (isRemoteEnabledSystemProp != null) {
final boolean val = isRemoteEnabledSystemProp.trim().compareToIgnoreCase("true") == 0;
LOG.info(String.format("Force %s out-of-process jcef mode.", val ? "enabled" : "disabled"));
} else {
if (StartupUiUtil.isWayland())
LOG.debug("Out-of-process jcef mode is temporarily disabled in Wayland"); // TODO: fix https://youtrack.jetbrains.com/issue/IJPL-161273
else
System.setProperty(PROPERTY_NAME, "true");
}
else {
System.setProperty(PROPERTY_NAME, "true");
}
}