aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop/LPanel.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2016-10-17 10:43:26 -0400
committerKen Moore <ken@ixsystems.com>2016-10-17 10:43:26 -0400
commit8691662461303fe6ab195df5aa2f23ed4dc8eedb (patch)
tree2d6a0490971f01cc58afc21293a58b59abd2396c /src-qt5/core/lumina-desktop/LPanel.cpp
parentFix the painting routines for the desktop/panel. Make sure we only paint the ... (diff)
downloadlumina-8691662461303fe6ab195df5aa2f23ed4dc8eedb.tar.gz
lumina-8691662461303fe6ab195df5aa2f23ed4dc8eedb.tar.bz2
lumina-8691662461303fe6ab195df5aa2f23ed4dc8eedb.zip
Turn off some debugging and fix the repaint of the entire wallpaper on change.
Diffstat (limited to 'src-qt5/core/lumina-desktop/LPanel.cpp')
-rw-r--r--src-qt5/core/lumina-desktop/LPanel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/core/lumina-desktop/LPanel.cpp b/src-qt5/core/lumina-desktop/LPanel.cpp
index 6e07f624..1308d61f 100644
--- a/src-qt5/core/lumina-desktop/LPanel.cpp
+++ b/src-qt5/core/lumina-desktop/LPanel.cpp
@@ -326,9 +326,9 @@ void LPanel::paintEvent(QPaintEvent *event){
//Make sure the base background of the event rectangle is the associated rectangle from the BGWindow
QRect rec = event->rect();//this->geometry(); //start with the global geometry of the panel
//Need to translate that rectangle to the background image coordinates
- qDebug() << " - Rec:" << rec << hidden << this->geometry() << bgWindow->geometry();
+ //qDebug() << " - Rec:" << rec << hidden << this->geometry() << bgWindow->geometry();
rec.moveTo( bgWindow->mapFromGlobal( this->mapToGlobal(rec.topLeft()) ) ); //(rec.x()-LSession::handle()->screenGeom(screennum).x(), rec.y()-LSession::handle()->screenGeom(screennum).y() );
- qDebug() << " - Adjusted Window Rec:" << rec;
+ //qDebug() << " - Adjusted Window Rec:" << rec;
painter->drawPixmap(event->rect(), bgWindow->grab(rec) );
}
QWidget::paintEvent(event); //now pass the event along to the normal painting event
bgstack15