aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lumina-desktop/LSession.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/lumina-desktop/LSession.cpp b/lumina-desktop/LSession.cpp
index 753cbeb9..af73b0d4 100644
--- a/lumina-desktop/LSession.cpp
+++ b/lumina-desktop/LSession.cpp
@@ -608,18 +608,13 @@ void LSession::adjustWindowGeom(WId win, bool maximize){
if(DEBUG){
qDebug() << " - New Geom:" << geom << fgeom;
}
+ XCB->MoveResizeWindow(win, geom);
- // if(fgeom.y() <= desk.y()){
-
- //}else{
- //Need to use the frame origin point with the window size (for some reason - strange Fluxbox issue)
- XCB->MoveResizeWindow(win, QRect(fgeom.topLeft(), geom.size()) );
- //}
//For the random windows which are *still* off the top of the screen
fgeom = XCB->WindowGeometry(win, true); //re-fetch the current geometry (including frame)
if(fgeom.y() <= desk.y()){
- //This is a window off the top of the screen - use the window geom only (no frame included)
- XCB->MoveResizeWindow(win, geom);
+ //Need to use the frame origin point with the window size (for some reason - strange Fluxbox issue)
+ XCB->MoveResizeWindow(win, QRect(fgeom.topLeft(), geom.size()) );
}
}
bgstack15