summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-10 12:41:57 +0200
committerNoel Grandin <noel@peralex.com>2016-05-10 12:41:57 +0200
commit3336a0ef240fe218a1ee3cc4d939a97317d69ebd (patch)
tree28ed2e9f6b932b3e38c358317dbfd4adf95996db
parentf5afe70cf8b83708d27e15682725c01ce347a6a7 (diff)
more OSX fix
Change-Id: I585ff0105f00793a80e0b5fa25e7dd08fb2fc95f
-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 )