mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 20:19:38 +00:00
Add close box support to floating windows
This commit is contained in:
@@ -110,8 +110,9 @@ short FindWindow(Point point, WindowPtr *window)
|
||||
|
||||
bool TrackGoAway(WindowPtr window, Point point)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
return false;
|
||||
PortabilityLayer::WindowManager *wm = PortabilityLayer::WindowManager::GetInstance();
|
||||
|
||||
return wm->HandleCloseBoxClick(window, point);
|
||||
}
|
||||
|
||||
PortabilityLayer::Vec2i TrackResize(WindowPtr window, Point start, uint16_t minWidth, uint16_t minHeight, Rect *size)
|
||||
|
||||
Reference in New Issue
Block a user