diff options
author | Ken Moore <ken@ixsystems.com> | 2017-06-29 11:53:39 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-06-29 11:53:39 -0400 |
commit | 1030649f5c8e831f1e7abae0b999173c6aed65ec (patch) | |
tree | c14b059f453e123578abd4a17420f7ce79dad675 /src-qt5/core | |
parent | Try to fix up the looping of the size/resize between X and the window (diff) | |
download | lumina-1030649f5c8e831f1e7abae0b999173c6aed65ec.tar.gz lumina-1030649f5c8e831f1e7abae0b999173c6aed65ec.tar.bz2 lumina-1030649f5c8e831f1e7abae0b999173c6aed65ec.zip |
Quick fix to disable setting the new global position on window move (temporary)
Diffstat (limited to 'src-qt5/core')
-rw-r--r-- | src-qt5/core/libLumina/RootSubWindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src-qt5/core/libLumina/RootSubWindow.cpp b/src-qt5/core/libLumina/RootSubWindow.cpp index 075f94c5..190ec3aa 100644 --- a/src-qt5/core/libLumina/RootSubWindow.cpp +++ b/src-qt5/core/libLumina/RootSubWindow.cpp @@ -265,7 +265,7 @@ void RootSubWindow::propertiesChanged(QList<NativeWindow::Property> props, QList otherB->setIcon(vals[i].value<QIcon>()); break; case NativeWindow::GlobalPos: - //qDebug() << "Got Global Pos:" << vals[i].toPoint(); + qDebug() << "Got Global Pos:" << vals[i].toPoint(); this->move( WIN->geometry().topLeft() ); break; case NativeWindow::Size: @@ -437,7 +437,7 @@ void RootSubWindow::resizeEvent(QResizeEvent *ev){ }*/ void RootSubWindow::moveEvent(QMoveEvent *ev){ - //qDebug() << "Got Move Event:" << ev->pos(); - WIN->setProperty(NativeWindow::GlobalPos, WinWidget->mapToGlobal(QPoint(0,0)) ); + qDebug() << "Got Move Event:" << ev->pos() << WinWidget->mapToGlobal(QPoint(0,0)); + //WIN->setProperty(NativeWindow::GlobalPos, WinWidget->mapToGlobal(QPoint(0,0)) ); QFrame::moveEvent(ev); } |