Use correct fullscreen geometry when moving fullscreen windows across

Xinerama screens.
BUG: 188827

svn path=/trunk/KDE/kdebase/workspace/; revision=1030845
This commit is contained in:
Lucas Murray 2009-10-03 10:00:31 +00:00
parent 3dc41fb062
commit 39a68673a4

View file

@ -3084,7 +3084,8 @@ void Client::handleMoveResize( int x, int y, int x_root, int y_root )
if( !isMovable() ) // isMovableAcrossScreens() must have been true to get here
{ // Special moving of maximized windows on Xinerama screens
int screen = workspace()->screenNumber( globalPos );
moveResizeGeom = workspace()->clientArea( MaximizeArea, screen, 0 );
moveResizeGeom = workspace()->clientArea(
isFullScreen() ? FullScreenArea : MaximizeArea, screen, 0 );
}
else
{