Skip to main content

cef_linux_window_properties_t

Type Alias cef_linux_window_properties_t 

Source
pub type cef_linux_window_properties_t = _cef_linux_window_properties_t;
Expand description

Linux window properties, such as X11’s WM_CLASS or Wayland’s app_id. Those are passed to CefWindowDelegate, so the client can set them for the CefWindow’s top-level. Thus, allowing window managers to correctly display the application’s information (e.g., icons).

Aliased Type§

#[repr(C)]
pub struct cef_linux_window_properties_t { pub size: usize, pub wayland_app_id: _cef_string_utf16_t, pub wm_class_class: _cef_string_utf16_t, pub wm_class_name: _cef_string_utf16_t, pub wm_role_name: _cef_string_utf16_t, }

Fields§

§size: usize

Size of this structure.

§wayland_app_id: _cef_string_utf16_t

Main window’s Wayland’s app_id

§wm_class_class: _cef_string_utf16_t

Main window’s WM_CLASS_CLASS in X11

§wm_class_name: _cef_string_utf16_t

Main window’s WM_CLASS_NAME in X11

§wm_role_name: _cef_string_utf16_t

Main window’s WM_WINDOW_ROLE in X11