[Libreoffice-commits] core.git: vcl/osx

Noel Grandin noel at peralex.com
Tue May 10 10:43:25 UTC 2016


 vcl/osx/salframe.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3336a0ef240fe218a1ee3cc4d939a97317d69ebd
Author: Noel Grandin <noel at peralex.com>
Date:   Tue May 10 12:41:57 2016 +0200

    more OSX fix
    
    Change-Id: I585ff0105f00793a80e0b5fa25e7dd08fb2fc95f

diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx
index 8945a57..ff25e34 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 )


More information about the Libreoffice-commits mailing list