aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/NativeWindow.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-06-27 12:21:43 -0400
committerKen Moore <ken@ixsystems.com>2017-06-27 12:21:43 -0400
commit5de759a52a3339741bff176d47efb9d9399d7c0d (patch)
tree27bc82db0d3db6dc5bb94aba43141951e2549848 /src-qt5/core/libLumina/NativeWindow.cpp
parentAnother couple minor changes - trying to track down some missing events. (diff)
downloadlumina-5de759a52a3339741bff176d47efb9d9399d7c0d.tar.gz
lumina-5de759a52a3339741bff176d47efb9d9399d7c0d.tar.bz2
lumina-5de759a52a3339741bff176d47efb9d9399d7c0d.zip
Commit some more debugging and changes to the event systems for Lumina2.
Diffstat (limited to 'src-qt5/core/libLumina/NativeWindow.cpp')
-rw-r--r--src-qt5/core/libLumina/NativeWindow.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/NativeWindow.cpp b/src-qt5/core/libLumina/NativeWindow.cpp
index 97131b52..020e4596 100644
--- a/src-qt5/core/libLumina/NativeWindow.cpp
+++ b/src-qt5/core/libLumina/NativeWindow.cpp
@@ -17,6 +17,14 @@ NativeWindow::~NativeWindow(){
//WIN->deleteLater(); //This class only deals with Native windows which were created outside the app - they need to be cleaned up outside the app too
}
+void NativeWindow::addFrameWinID(WId fid){
+ relatedTo << fid;
+}
+
+bool NativeWindow::isRelatedTo(WId tmp){
+ return (relatedTo.contains(tmp) || winid == tmp);
+}
+
WId NativeWindow::id(){
return winid;
}
bgstack15