aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/NativeWindowSystem.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-06-29 14:08:35 -0400
committerKen Moore <ken@ixsystems.com>2017-06-29 14:08:35 -0400
commit1b8947f958d5ad1600a9eff5fe5fdf0f327d6926 (patch)
tree18c7de8707c2645620c75d97681b6d1dfaa0ed41 /src-qt5/core/libLumina/NativeWindowSystem.cpp
parentMake sure we set the root flag that window opacity is supported. (diff)
downloadlumina-1b8947f958d5ad1600a9eff5fe5fdf0f327d6926.tar.gz
lumina-1b8947f958d5ad1600a9eff5fe5fdf0f327d6926.tar.bz2
lumina-1b8947f958d5ad1600a9eff5fe5fdf0f327d6926.zip
Add some window close debugging, and change the setVisible animation to a window zoom rather than opacity (the frame is not technically an independant window).
Diffstat (limited to 'src-qt5/core/libLumina/NativeWindowSystem.cpp')
-rw-r--r--src-qt5/core/libLumina/NativeWindowSystem.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/NativeWindowSystem.cpp b/src-qt5/core/libLumina/NativeWindowSystem.cpp
index d90b9dc1..ad5c969c 100644
--- a/src-qt5/core/libLumina/NativeWindowSystem.cpp
+++ b/src-qt5/core/libLumina/NativeWindowSystem.cpp
@@ -721,9 +721,11 @@ void NativeWindowSystem::WindowCloseDetected(WId id){
NativeWindow *win = findWindow(id);
qDebug() << "Got Window Closed" << id << win;
if(win!=0){
+ qDebug() << "Old Window List:" << NWindows.length();
NWindows.removeAll(win);
win->emit WindowClosed(id);
win->deleteLater();
+ qDebug() << " - Now:" << NWindows.length();
}else{
win = findTrayWindow(id);
if(win!=0){
bgstack15