diff options
author | Ken Moore <ken@ixsystems.com> | 2017-08-27 08:14:44 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-08-27 08:14:44 -0400 |
commit | 6824bc2c5069b8ea6799bf6e84d66de205bc8e0c (patch) | |
tree | 43fc0b68b74d3e5d303affd1eb9772cd94e8f1df /src-qt5/core/libLumina/RootWindow.h | |
parent | Merge branch 'master' of github.com:trueos/lumina (diff) | |
download | lumina-6824bc2c5069b8ea6799bf6e84d66de205bc8e0c.tar.gz lumina-6824bc2c5069b8ea6799bf6e84d66de205bc8e0c.tar.bz2 lumina-6824bc2c5069b8ea6799bf6e84d66de205bc8e0c.zip |
Add 3 simple window arrangements to Lumina 2.
Also clean up a bit of the invisible layering for embedded windows.
Diffstat (limited to 'src-qt5/core/libLumina/RootWindow.h')
-rw-r--r-- | src-qt5/core/libLumina/RootWindow.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src-qt5/core/libLumina/RootWindow.h b/src-qt5/core/libLumina/RootWindow.h index 9b1334dc..5f11fd6d 100644 --- a/src-qt5/core/libLumina/RootWindow.h +++ b/src-qt5/core/libLumina/RootWindow.h @@ -18,6 +18,8 @@ #include <QTimer> #include <QApplication> #include <QPaintEvent> +#include <QScreen> +#include <QDebug> #include "RootSubWindow.h" @@ -51,7 +53,10 @@ private: //Window Management QList<RootSubWindow*> WINDOWS; RootSubWindow* windowForId(WId id); - void arrangeWindows(RootSubWindow *primary = 0, QString type = ""); + void arrangeWindows(RootSubWindow *primary = 0, QString type = "", bool primaryonly = false); + + QScreen* screenUnderMouse(); + public slots: void ResizeRoot(); |