diff options
author | Ken Moore <ken@ixsystems.com> | 2017-07-19 13:53:34 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-07-19 13:53:34 -0400 |
commit | f5b60b2681bc6fc8e9171566e28064fe7048aa8b (patch) | |
tree | 6dfcc866cbdc015cfec1b966bac1c214bcc59f6b /src-qt5/core/libLumina/RootSubWindow.cpp | |
parent | Get compositing completely working. This broke the move-update patch a bit - ... (diff) | |
download | lumina-f5b60b2681bc6fc8e9171566e28064fe7048aa8b.tar.gz lumina-f5b60b2681bc6fc8e9171566e28064fe7048aa8b.tar.bz2 lumina-f5b60b2681bc6fc8e9171566e28064fe7048aa8b.zip |
Another checkpoint in the compositing saga. Got most of it working, but still getting random artifacting *outside* of the window that we are painting from time to time.
Diffstat (limited to 'src-qt5/core/libLumina/RootSubWindow.cpp')
-rw-r--r-- | src-qt5/core/libLumina/RootSubWindow.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src-qt5/core/libLumina/RootSubWindow.cpp b/src-qt5/core/libLumina/RootSubWindow.cpp index 1059871a..9ef6464e 100644 --- a/src-qt5/core/libLumina/RootSubWindow.cpp +++ b/src-qt5/core/libLumina/RootSubWindow.cpp @@ -181,6 +181,12 @@ void RootSubWindow::initWindowFrame(){ titleBar->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred); mainLayout->addWidget(titleBar); mainLayout->addWidget(WinWidget); + //Setup the cursors for the buttons + closeB->setCursor(Qt::ArrowCursor); + minB->setCursor(Qt::ArrowCursor); + maxB->setCursor(Qt::ArrowCursor); + otherM->setCursor(Qt::ArrowCursor); + titleLabel->setCursor(Qt::ArrowCursor); //Now all the stylesheet options this->setObjectName("WindowFrame"); closeB->setObjectName("Button_Close"); @@ -492,7 +498,6 @@ void RootSubWindow::mouseMoveEvent(QMouseEvent *ev){ default: break; } - this->setGeometry(geom); } QFrame::mouseMoveEvent(ev); |