Files
ports/devel/electron43/files/patch-ui_base_accelerators_command.cc
2026-10-04 04:07:15 +00:00

12 lines
496 B
C++

--- ui/base/accelerators/command.cc.orig 2026-06-23 23:37:18 UTC
+++ ui/base/accelerators/command.cc
@@ -81,7 +81,7 @@ std::string Command::CommandPlatform() {
return ui::kKeybindingPlatformMac;
#elif BUILDFLAG(IS_CHROMEOS)
return ui::kKeybindingPlatformChromeOs;
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return ui::kKeybindingPlatformLinux;
#elif BUILDFLAG(IS_FUCHSIA)
// TODO(crbug.com/40220501): Change this once we decide what string should be