mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 04:08:08 +00:00
WindowServer/GMenu: Adjust the popup position to fit the window inside the screen
Rather than passing a "top_anchored" bool. Fixes #22.
This commit is contained in:
committed by
Andreas Kling
parent
a4b0dfff43
commit
f55965b5e8
@@ -260,7 +260,7 @@ void WSClientConnection::handle_request(const WSAPIPopupMenuRequest& request)
|
||||
return;
|
||||
}
|
||||
auto& menu = *(*it).value;
|
||||
menu.popup(position, request.top_anchored());
|
||||
menu.popup(position);
|
||||
}
|
||||
|
||||
void WSClientConnection::handle_request(const WSAPIDismissMenuRequest& request)
|
||||
|
||||
Reference in New Issue
Block a user