aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/RootWindow.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-08-28 15:51:44 -0400
committerKen Moore <ken@ixsystems.com>2017-08-28 15:51:44 -0400
commit63d9e7138811314d5301fbc7a7b92305d19c0d49 (patch)
tree296e91746c35d1503da0b499ed0e3daf3818b4b0 /src-qt5/core/libLumina/RootWindow.cpp
parentRemove the src-DE directory from lumina-desktop-unified. No need for this old... (diff)
downloadlumina-63d9e7138811314d5301fbc7a7b92305d19c0d49.tar.gz
lumina-63d9e7138811314d5301fbc7a7b92305d19c0d49.tar.bz2
lumina-63d9e7138811314d5301fbc7a7b92305d19c0d49.zip
Come more work on compositing. Seems like there is a significant difference between my nvidia-based desktop and the Intel laptop.
Diffstat (limited to 'src-qt5/core/libLumina/RootWindow.cpp')
-rw-r--r--src-qt5/core/libLumina/RootWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/core/libLumina/RootWindow.cpp b/src-qt5/core/libLumina/RootWindow.cpp
index b0d07600..996b8e01 100644
--- a/src-qt5/core/libLumina/RootWindow.cpp
+++ b/src-qt5/core/libLumina/RootWindow.cpp
@@ -220,11 +220,11 @@ void RootWindow::CloseWindow(WId win){
// === PROTECTED ===
void RootWindow::paintEvent(QPaintEvent *ev){
//qDebug() << "RootWindow: PaintEvent:" << ev->rect(); //<< QDateTime::currentDateTime()->toString(QDateTime::ShortDate);
- QWidget::paintEvent(ev);
+ //QWidget::paintEvent(ev);
bool found = false;
QPainter painter(this);
QRect geom = ev->rect();
- geom.adjust(-10,-10,10,10); //give it a few more pixels in each direction to repaint (noticing some issues in Qt 5.7.1)
+ geom.adjust(-100,-100,100,100); //give it a few more pixels in each direction to repaint (noticing some issues in Qt 5.7.1)
for(int i=0; i<WALLPAPERS.length(); i++){
if(WALLPAPERS[i].area.intersects(geom) ){
found = true;
bgstack15