aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/RootSubWindow.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-09-14 12:22:31 -0400
committerKen Moore <ken@ixsystems.com>2017-09-14 12:22:31 -0400
commit49d7b64794cb5c645f0093d18a207ea1c9fe2121 (patch)
treef38bec1e5f607d33277f1c240ae9a3916aac0a2b /src-qt5/core/libLumina/RootSubWindow.cpp
parentCleanup the QSS page quite a bit so that items can now be sorted, ordered by ... (diff)
downloadlumina-49d7b64794cb5c645f0093d18a207ea1c9fe2121.tar.gz
lumina-49d7b64794cb5c645f0093d18a207ea1c9fe2121.tar.bz2
lumina-49d7b64794cb5c645f0093d18a207ea1c9fe2121.zip
Turn off the custom theme engine for the 1.x desktop itself, and use the lthemeengine styles for everything now.
Also commit a few simple fixes for the lthemeengine styles page and a couple other random tweaks.
Diffstat (limited to 'src-qt5/core/libLumina/RootSubWindow.cpp')
-rw-r--r--src-qt5/core/libLumina/RootSubWindow.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src-qt5/core/libLumina/RootSubWindow.cpp b/src-qt5/core/libLumina/RootSubWindow.cpp
index 9eb62ff5..886d7a17 100644
--- a/src-qt5/core/libLumina/RootSubWindow.cpp
+++ b/src-qt5/core/libLumina/RootSubWindow.cpp
@@ -315,7 +315,7 @@ void RootSubWindow::toggleMaximize(){
//Not maximized yet - go ahead and make it so
lastMaxGeom = this->geometry(); //save this for later;
}
- qDebug() << "Toggle Maximize:" << this->geometry() << rect;
+ //qDebug() << "Toggle Maximize:" << this->geometry() << rect;
QString anim_type = DesktopSettings::instance()->value(DesktopSettings::Animation, "window/move", "random").toString();
loadAnimation(anim_type, NativeWindow::Size, rect);
}
@@ -384,6 +384,10 @@ void RootSubWindow::propertiesChanged(QList<NativeWindow::Property> props, QList
else{ otherB->setIcon(vals[i].value<QIcon>()); }
break;
case NativeWindow::GlobalPos:
+ if(vals[i].toPoint()!=QPoint(0,0)){
+ WinWidget->resyncWindow();
+ }
+ break;
case NativeWindow::Size:
//qDebug() << " - SIZE CHANGE";
if(WIN->property(NativeWindow::FrameExtents).isNull() && (i<props.indexOf(NativeWindow::FrameExtents)) ){
@@ -391,7 +395,7 @@ void RootSubWindow::propertiesChanged(QList<NativeWindow::Property> props, QList
props << props.takeAt(i);
vals << vals.takeAt(i);
i--;
- }else if(!WinWidget->isPaused() && !this->isVisible() && activeState==Normal){
+ }else if(!WinWidget->isPaused() && activeState==Normal){
if(WIN->property(NativeWindow::Size).toSize() != WinWidget->size()){
qDebug() << "Got Direct Geometry Change:" << WIN->geometry();
this->setGeometry(WIN->geometry());
bgstack15