From 6824bc2c5069b8ea6799bf6e84d66de205bc8e0c Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Sun, 27 Aug 2017 08:14:44 -0400 Subject: Add 3 simple window arrangements to Lumina 2. Also clean up a bit of the invisible layering for embedded windows. --- src-qt5/core/libLumina/RootWindow.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src-qt5/core/libLumina/RootWindow.h') 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 #include #include +#include +#include #include "RootSubWindow.h" @@ -51,7 +53,10 @@ private: //Window Management QList 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(); -- cgit