diff options
author | Ken Moore <moorekou@gmail.com> | 2016-03-08 10:20:09 -0500 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-03-08 10:20:09 -0500 |
commit | 9c3ab574a800204c6f4583e2566a43cab6c8be17 (patch) | |
tree | 0cf3e50a0e01b282bddab47783cc9eaa6239a4a2 | |
parent | Cleanup all the DESTDIR usage within the project files. Now this can be easil... (diff) | |
download | lumina-9c3ab574a800204c6f4583e2566a43cab6c8be17.tar.gz lumina-9c3ab574a800204c6f4583e2566a43cab6c8be17.tar.bz2 lumina-9c3ab574a800204c6f4583e2566a43cab6c8be17.zip |
Update the window movement routine to use an alternate ICCCM WM request for fixing an initial window placement. This allows flux to do the frame matching/adjustments as needed (and seems to be reliable).
-rw-r--r-- | lumina-desktop/LSession.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lumina-desktop/LSession.cpp b/lumina-desktop/LSession.cpp index 534dd7e3..afc6d2b1 100644 --- a/lumina-desktop/LSession.cpp +++ b/lumina-desktop/LSession.cpp @@ -618,6 +618,8 @@ void LSession::adjustWindowGeom(WId win, bool maximize){ if(DEBUG){ qDebug() << " - New Geom:" << geom << fgeom; } + XCB->WM_Request_MoveResize_Window(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()) ); @@ -626,7 +628,7 @@ void LSession::adjustWindowGeom(WId win, bool maximize){ if(nfgeom!=fgeom){ if(DEBUG){ qDebug() << " -- Adjust again:" << fgeom; } XCB->MoveResizeWindow(win, geom); - } + }*/ } } |