From 39a68673a47fcf41f417811e2338db4a5263bf82 Mon Sep 17 00:00:00 2001 From: Lucas Murray Date: Sat, 3 Oct 2009 10:00:31 +0000 Subject: [PATCH] Use correct fullscreen geometry when moving fullscreen windows across Xinerama screens. BUG: 188827 svn path=/trunk/KDE/kdebase/workspace/; revision=1030845 --- geometry.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/geometry.cpp b/geometry.cpp index 2d85f3b337..9070f9f876 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -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 {