mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[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:
committed by
intellij-monorepo-bot
parent
1c94695eb6
commit
ed24dddf97
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user