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:
parent
3dc41fb062
commit
39a68673a4
1 changed files with 2 additions and 1 deletions
|
@ -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
|
if( !isMovable() ) // isMovableAcrossScreens() must have been true to get here
|
||||||
{ // Special moving of maximized windows on Xinerama screens
|
{ // Special moving of maximized windows on Xinerama screens
|
||||||
int screen = workspace()->screenNumber( globalPos );
|
int screen = workspace()->screenNumber( globalPos );
|
||||||
moveResizeGeom = workspace()->clientArea( MaximizeArea, screen, 0 );
|
moveResizeGeom = workspace()->clientArea(
|
||||||
|
isFullScreen() ? FullScreenArea : MaximizeArea, screen, 0 );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue