7b8fb2b074
* fix: broken wayland window decorations due to botched chromium update The `GetTitlebarBounds().height()` is obviously intended to be placed in the `top` parameter, which used to be the second one before upstream removed multi-parameter `gfx::Rect::Inset`, but it's the first parameter for `gfx::Insets::TLBR`, which was intended to replace the removed `Inset` function. However, whoever updated Chromium kept the parameter unchanged, causing the title bar height to be passed to the `left` parameter, causing the window title bar to be unclickable. * fix: wayland window top bar buttons unclickable Use NonClientFrameView::TargetForRect for the ClientFrameViewLinux implementation because the default inherited from FramelessView blocks any non-HTCLIENT events. * fix: add maximized parameter to LinuxUI::GetWindowFrameProvider * fix: pass frame_->IsMaximized() to GetWindowFrameProvider This ensures that the toolkit renders the window decorations in maximized mode while the window is maximized to ensure that there is no empty space around the window. |
||
---|---|---|
.. | ||
autofill_popup_view.cc | ||
autofill_popup_view.h | ||
client_frame_view_linux.cc | ||
client_frame_view_linux.h | ||
electron_views_delegate.cc | ||
electron_views_delegate.h | ||
electron_views_delegate_win.cc | ||
frameless_view.cc | ||
frameless_view.h | ||
global_menu_bar_registrar_x11.cc | ||
global_menu_bar_registrar_x11.h | ||
global_menu_bar_x11.cc | ||
global_menu_bar_x11.h | ||
inspectable_web_contents_view_views.cc | ||
inspectable_web_contents_view_views.h | ||
menu_bar.cc | ||
menu_bar.h | ||
menu_delegate.cc | ||
menu_delegate.h | ||
menu_model_adapter.cc | ||
menu_model_adapter.h | ||
native_frame_view.cc | ||
native_frame_view.h | ||
root_view.cc | ||
root_view.h | ||
submenu_button.cc | ||
submenu_button.h | ||
win_caption_button.cc | ||
win_caption_button.h | ||
win_caption_button_container.cc | ||
win_caption_button_container.h | ||
win_frame_view.cc | ||
win_frame_view.h | ||
win_icon_painter.cc | ||
win_icon_painter.h |