diff --git a/vcl/aqua/source/window/salframe.cxx b/vcl/aqua/source/window/salframe.cxx index 6c06339445a4..56eff66d945a 100644 --- a/vcl/aqua/source/window/salframe.cxx +++ b/vcl/aqua/source/window/salframe.cxx @@ -628,7 +628,7 @@ void AquaSalFrame::SetWindowState( const SalFrameState* pState ) UpdateFrameGeometry(); sal_uInt16 nEvent = 0; - if( pState->mnMask & (SAL_FRAMESTATE_MASK_X | SAL_FRAMESTATE_MASK_X) ) + if( pState->mnMask & (SAL_FRAMESTATE_MASK_X | SAL_FRAMESTATE_MASK_Y) ) { mbPositioned = true; nEvent = SALEVENT_MOVE;