aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/NativeWindow.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-06-29 22:31:49 -0400
committerKen Moore <ken@ixsystems.com>2017-06-29 22:31:49 -0400
commit3cc4bb91529afd0a3454a3db86a7d8a7f51fde96 (patch)
treee6a724d3b495bfc62a1b1e677883d02c21906a7e /src-qt5/core/libLumina/NativeWindow.h
parentBack out that secondary close ID - unrelated to the actual window that was cl... (diff)
downloadlumina-3cc4bb91529afd0a3454a3db86a7d8a7f51fde96.tar.gz
lumina-3cc4bb91529afd0a3454a3db86a7d8a7f51fde96.tar.bz2
lumina-3cc4bb91529afd0a3454a3db86a7d8a7f51fde96.zip
Commit another large block of work on Lumina2.
1. Starting to get the compositing put together, but not functional yet. 2. Get the window close routines completely finished, with memory being freed properly on close. 3. Get some of the "reset" of window properties after an animation all setup. Not quite finished yet.
Diffstat (limited to 'src-qt5/core/libLumina/NativeWindow.h')
-rw-r--r--src-qt5/core/libLumina/NativeWindow.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/src-qt5/core/libLumina/NativeWindow.h b/src-qt5/core/libLumina/NativeWindow.h
index c87ccb2d..62bb74b5 100644
--- a/src-qt5/core/libLumina/NativeWindow.h
+++ b/src-qt5/core/libLumina/NativeWindow.h
@@ -60,16 +60,20 @@ public:
~NativeWindow();
void addFrameWinID(WId);
+ void addDamageID(unsigned int);
bool isRelatedTo(WId);
WId id();
- QWindow* window();
+ WId frameId();
+ unsigned int damageId();
+
+ //QWindow* window();
QVariant property(NativeWindow::Property);
- void setProperty(NativeWindow::Property, QVariant);
- void setProperties(QList<NativeWindow::Property>, QList<QVariant>);
- void requestProperty(NativeWindow::Property, QVariant);
- void requestProperties(QList<NativeWindow::Property>, QList<QVariant>);
+ void setProperty(NativeWindow::Property, QVariant, bool force = false);
+ void setProperties(QList<NativeWindow::Property>, QList<QVariant>, bool force = false);
+ void requestProperty(NativeWindow::Property, QVariant, bool force = false);
+ void requestProperties(QList<NativeWindow::Property>, QList<QVariant>, bool force = false);
QRect geometry(); //this returns the "full" geometry of the window (window + frame)
@@ -80,9 +84,10 @@ public slots:
private:
QHash <NativeWindow::Property, QVariant> hash;
- QWindow *WIN;
+ //QWindow *WIN;
WId winid, frameid;
QList<WId> relatedTo;
+ unsigned int dmgID;
signals:
//General Notifications
bgstack15