mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +00:00
WindowServer: Remove an unnecessary temporary variable
This commit is contained in:
parent
ad828b3cfc
commit
69dad3b996
1 changed files with 1 additions and 2 deletions
|
@ -732,8 +732,7 @@ void WindowFrame::handle_mouse_event(MouseEvent const& event)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto menubar_rect = this->menubar_rect();
|
if (menubar_rect().contains(event.position())) {
|
||||||
if (menubar_rect.contains(event.position())) {
|
|
||||||
wm.clear_resize_candidate();
|
wm.clear_resize_candidate();
|
||||||
handle_menubar_mouse_event(event);
|
handle_menubar_mouse_event(event);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue