diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-07-21 16:00:30 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-07-22 01:30:19 +0200 |
commit | 8e2398bf72507324718e99fb2066c068c7898bf8 (patch) | |
tree | 74faadfb3f8d607ad216666f465b72c4b2393224 /vcl/unx/generic/window | |
parent | 1752ee0568510e86050494e2a3dbe504523cd705 (diff) |
Remove supportsICCCMPos. Resize working with Sawfish anyway.
Diffstat (limited to 'vcl/unx/generic/window')
-rw-r--r-- | vcl/unx/generic/window/salframe.cxx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx index 6b75da1df438..2f70d0cf5f26 100644 --- a/vcl/unx/generic/window/salframe.cxx +++ b/vcl/unx/generic/window/salframe.cxx @@ -1752,17 +1752,7 @@ void X11SalFrame::SetWindowState( const SalFrameState *pState ) aPosSize.Move( 0, (long)aGeom.nTopDecoration - (long)aPosSize.Top() ); } - // resize with new args - if (pWM->supportsICCCMPos()) - { - if( mpParent ) - aPosSize.Move( -mpParent->maGeometry.nX, - -mpParent->maGeometry.nY ); - SetPosSize( aPosSize ); - bDefaultPosition_ = False; - } - else - SetPosSize( 0, 0, aPosSize.GetWidth(), aPosSize.GetHeight(), SAL_FRAME_POSSIZE_WIDTH | SAL_FRAME_POSSIZE_HEIGHT ); + SetPosSize( 0, 0, aPosSize.GetWidth(), aPosSize.GetHeight(), SAL_FRAME_POSSIZE_WIDTH | SAL_FRAME_POSSIZE_HEIGHT ); } } |