mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Expose certain methods to be used for Mac menu items
This commit is contained in:
@@ -186,6 +186,7 @@ namespace PortabilityLayer
|
||||
void SetWindowTitle(Window *window, const PLPasStr &title) override;
|
||||
Rect2i GetWindowFullRect(Window *window) const override;
|
||||
bool GetWindowChromeInteractionZone(Window *window, const Vec2i &point, RegionID_t &outRegion) const override;
|
||||
bool IsExclusiveWindowVisible() override;
|
||||
void SwapExclusiveWindow(Window *& windowRef) override;
|
||||
|
||||
void FlickerWindowIn(Window *window, int32_t velocity) GP_ASYNCIFY_PARANOID_OVERRIDE;
|
||||
@@ -1322,6 +1323,10 @@ namespace PortabilityLayer
|
||||
return static_cast<WindowImpl*>(window)->GetChromeInteractionZone(point, outRegion);
|
||||
}
|
||||
|
||||
bool WindowManagerImpl::IsExclusiveWindowVisible() {
|
||||
return m_exclusiveWindow != nullptr;
|
||||
}
|
||||
|
||||
void WindowManagerImpl::SwapExclusiveWindow(Window *& windowRef)
|
||||
{
|
||||
const bool hadExclusiveWindow = (m_exclusiveWindow != nullptr);
|
||||
|
Reference in New Issue
Block a user