diff options
author | Ken Moore <ken@ixsystems.com> | 2017-06-27 12:21:43 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-06-27 12:21:43 -0400 |
commit | 5de759a52a3339741bff176d47efb9d9399d7c0d (patch) | |
tree | 27bc82db0d3db6dc5bb94aba43141951e2549848 /src-qt5/core/libLumina/NativeWindow.cpp | |
parent | Another couple minor changes - trying to track down some missing events. (diff) | |
download | lumina-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.cpp | 8 |
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; } |