aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-06-29 14:55:39 -0400
committerKen Moore <ken@ixsystems.com>2017-06-29 14:55:39 -0400
commit5911c0b061840588626edee15d44ffbe16470301 (patch)
treedce3bdebbe4531b525d9d93478b467e587d108a5
parentFix up the animation finished routine - should work fine now (diff)
downloadlumina-5911c0b061840588626edee15d44ffbe16470301.tar.gz
lumina-5911c0b061840588626edee15d44ffbe16470301.tar.bz2
lumina-5911c0b061840588626edee15d44ffbe16470301.zip
add some debugging for the new window routine (need window ID's)
-rw-r--r--src-qt5/core/libLumina/RootSubWindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src-qt5/core/libLumina/RootSubWindow.cpp b/src-qt5/core/libLumina/RootSubWindow.cpp
index 2e773e9d..9eb1ff58 100644
--- a/src-qt5/core/libLumina/RootSubWindow.cpp
+++ b/src-qt5/core/libLumina/RootSubWindow.cpp
@@ -28,6 +28,7 @@ RootSubWindow::RootSubWindow(QWidget *root, NativeWindow *win) : QFrame(root){
connect(WIN, SIGNAL(PropertiesChanged(QList<NativeWindow::Property>, QList<QVariant>)), this, SLOT(propertiesChanged(QList<NativeWindow::Property>, QList<QVariant>)));
WIN->addFrameWinID(WinWidget->winId());
WIN->emit RequestReparent(WIN->id(), WinWidget->winId(), QPoint(0,0));
+ qDebug() << "[NEW WINDOW]" << WIN->id() << WinWidget->winId() << this->winId();
LoadAllProperties();
//QTimer::singleShot(20, this, SLOT(LoadAllProperties()) );
}
@@ -300,7 +301,7 @@ void RootSubWindow::propertiesChanged(QList<NativeWindow::Property> props, QList
//qDebug() << "Got Widget Size Change:" << vals[i].toSize();
WinWidget->resize(vals[i].toSize());
this->resize( WIN->geometry().size() );
- qDebug() << " - Size after change:" << WinWidget->size() << this->size() << WIN->geometry();
+ //qDebug() << " - Size after change:" << WinWidget->size() << this->size() << WIN->geometry();
}
break;
case NativeWindow::MinSize:
bgstack15