diff options
author | Ken Moore <ken@ixsystems.com> | 2017-08-27 11:29:43 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-08-27 11:29:43 -0400 |
commit | 39c9a096ef2bee1e224561ed5daa6a63a9018b36 (patch) | |
tree | 320766d6583e8fcb9682412d79246182a19c38c2 /src-qt5/core/libLumina/RootWindow-mgmt.cpp | |
parent | Add 3 simple window arrangements to Lumina 2. (diff) | |
download | lumina-39c9a096ef2bee1e224561ed5daa6a63a9018b36.tar.gz lumina-39c9a096ef2bee1e224561ed5daa6a63a9018b36.tar.bz2 lumina-39c9a096ef2bee1e224561ed5daa6a63a9018b36.zip |
A bunch more work on Lumina 2 mouse focus settings and such.
Diffstat (limited to 'src-qt5/core/libLumina/RootWindow-mgmt.cpp')
-rw-r--r-- | src-qt5/core/libLumina/RootWindow-mgmt.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/RootWindow-mgmt.cpp b/src-qt5/core/libLumina/RootWindow-mgmt.cpp index 525e43be..24ea639b 100644 --- a/src-qt5/core/libLumina/RootWindow-mgmt.cpp +++ b/src-qt5/core/libLumina/RootWindow-mgmt.cpp @@ -46,6 +46,8 @@ void RootWindow::arrangeWindows(RootSubWindow *primary, QString type, bool prima if(type=="center"){ QPoint ct = desktopArea.center(); winlist[i]->setGeometry( ct.x()-(geom.width()/2), ct.y()-(geom.height()/2), geom.width(), geom.height()); + }else if(type=="snap"){ + }else if(type=="single_max"){ winlist[i]->setGeometry( desktopArea.x(), desktopArea.y(), desktopArea.width(), desktopArea.height()); }else if(type=="under-mouse"){ |