Linux: Views: Expose configuration of the WM_CLASS window property
Original report by me.
Some Linux window managers use the WM_CLASS property on the top-level window to control window grouping and desktop file matching. It is currently configurable in Chromium via Widget::InitParams::wm_class_name/wm_class_class and should be exposed for configuration via the CEF API when creating the CefWindow.
The current workaround is to place a XSetClassHint + XFlush at the method that implements CefWindowDelegate::OnWindowCreated.
- changed kind from "bug" to "enhancement"
- changed title from "views: Linux: Expose configuration of the WM_CLASS window property" to "Linux: Views: Expose configuration of the WM_CLASS window property"
Probably also need to set params.wayland_app_id, see DesktopBrowserFrameAuraLinux::GetWidgetParams
We can add a CefWindowDelegate::GetLinuxWindowProperties method for retrieving wayland_app_id, wm_class_name and wm_class_class via a struct argument.