summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/osx/salframe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx
index 8945a57c33ab..ff25e3436973 100644
--- a/vcl/osx/salframe.cxx
+++ b/vcl/osx/salframe.cxx
@@ -588,7 +588,7 @@ void AquaSalFrame::SetWindowState( const SalFrameState* pState )
nEvent = (nEvent == SalEvent::Move) ? SalEvent::MoveResize : SalEvent::Resize;
}
// send event that we were moved/sized
- if( nEvent )
+ if( nEvent != SalEvent::NONE )
CallCallback( nEvent, nullptr );
if( mbShown && mpNSWindow )