linux: Add CefWindowDelegate::GetLinuxWindowProperties (fixes #3383)

This commit is contained in:
Pedro de Carvalho Gomes
2024-08-05 12:12:33 -04:00
committed by Marshall Greenblatt
parent 295ea1f715
commit b61c106b6b
11 changed files with 193 additions and 10 deletions

View File

@@ -278,6 +278,16 @@ class CefWindowDelegate : public CefPanelDelegate {
virtual cef_runtime_style_t GetWindowRuntimeStyle() {
return CEF_RUNTIME_STYLE_DEFAULT;
}
///
/// Return Linux-specific window properties for correctly handling by window
/// managers
///
/*--cef()--*/
virtual bool GetLinuxWindowProperties(CefRefPtr<CefWindow> window,
CefLinuxWindowProperties& properties) {
return false;
}
};
#endif // CEF_INCLUDE_VIEWS_CEF_WINDOW_DELEGATE_H_