diff options
-rw-r--r-- | vcl/unx/source/app/wmadaptor.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/vcl/unx/source/app/wmadaptor.cxx b/vcl/unx/source/app/wmadaptor.cxx index 5495b387c844..6c1ae35b7e3d 100644 --- a/vcl/unx/source/app/wmadaptor.cxx +++ b/vcl/unx/source/app/wmadaptor.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: wmadaptor.cxx,v $ - * $Revision: 1.70 $ + * $Revision: 1.71 $ * * This file is part of OpenOffice.org. * @@ -2037,6 +2037,10 @@ int GnomeWMAdaptor::handlePropertyNotify( X11SalFrame* pFrame, XPropertyEvent* p Size( rGeom.nWidth, rGeom.nHeight ) ); } } + else if( pEvent->atom == m_aWMAtoms[ NET_WM_DESKTOP ] ) + { + pFrame->m_nWorkArea = getWindowWorkArea( pFrame->GetShellWindow() ); + } else nHandled = 0; |