Kaydet (Commit) 387f0031 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

tdf#53282: Leave (our own) full-screen mode when the AquaSalFrame is dying

Change-Id: I85243dff96b9090de0fd55564b44abb6142d9ac2
Reviewed-on: https://gerrit.libreoffice.org/56524
Tested-by: Jenkins
Reviewed-by: 's avatarTor Lillqvist <tml@collabora.com>
üst e5c8f2ba
...@@ -92,6 +92,9 @@ AquaSalFrame::AquaSalFrame( SalFrame* pParent, SalFrameStyleFlags salFrameStyle ...@@ -92,6 +92,9 @@ AquaSalFrame::AquaSalFrame( SalFrame* pParent, SalFrameStyleFlags salFrameStyle
AquaSalFrame::~AquaSalFrame() AquaSalFrame::~AquaSalFrame()
{ {
if (mbFullScreen)
ShowFullScreen(false, maGeometry.nDisplayScreenNumber);
assert( GetSalData()->mpInstance->IsMainThread() ); assert( GetSalData()->mpInstance->IsMainThread() );
// if the frame is destroyed and has the current menubar // if the frame is destroyed and has the current menubar
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment