feat: support system-context-menu on Linux#46400
Conversation
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
|
Now what is this about... Looks like this might be related to npm/cli#8203. When I go to https://www.npmjs.com/search?q=camelcase manually, I get a "Sorry, you have been blocked" message. |
jkleinsc
left a comment
There was a problem hiding this comment.
Linux fails to build:
./../electron/shell/browser/ui/electron_desktop_window_tree_host_linux.cc:297:20: error: no member named 'supports_server_window_menus' in 'ui::OzonePlatform::PlatformRuntimeProperties'
295 | if (ui::OzonePlatform::GetInstance()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
296 | ->GetPlatformRuntimeProperties()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
297 | .supports_server_window_menus) {
| ^
../../electron/shell/browser/ui/electron_desktop_window_tree_host_linux.cc:298:48: error: no member named 'ShowWindowControlsMenu' in 'views::DesktopWindowTreeHostLinux'
298 | views::DesktopWindowTreeHostLinux::ShowWindowControlsMenu(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
2 errors generated.
Backport of #45848
See that PR for details.
Notes: Added support for
system-context-menuon Linux.