mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:48:11 +00:00
WindowServer: Tweak window icon menu popup location
This commit is contained in:
parent
5bdd05024f
commit
c3a2dffe29
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ void WindowFrame::on_mouse_event(const MouseEvent& event)
|
|||
|
||||
if (m_window.type() == WindowType::Normal && event.type() == Event::MouseDown && (event.button() == MouseButton::Left || event.button() == MouseButton::Right) && title_bar_icon_rect().contains(event.position())) {
|
||||
wm.move_to_front_and_make_active(m_window);
|
||||
m_window.popup_window_menu(title_bar_icon_rect().bottom_left().translated(rect().location()));
|
||||
m_window.popup_window_menu(title_bar_rect().bottom_left().translated(rect().location()));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue