diff options
Diffstat (limited to 'src-qt5/core/lumina-desktop/LDesktop.cpp')
-rw-r--r-- | src-qt5/core/lumina-desktop/LDesktop.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src-qt5/core/lumina-desktop/LDesktop.cpp b/src-qt5/core/lumina-desktop/LDesktop.cpp index 78485b56..90c2f31f 100644 --- a/src-qt5/core/lumina-desktop/LDesktop.cpp +++ b/src-qt5/core/lumina-desktop/LDesktop.cpp @@ -99,7 +99,7 @@ void LDesktop::UpdateGeometry(){ PANELS[i]->UpdatePanel(true); //geom only updates - do this before adjusting the background }*/ //qDebug() << " - Update Desktop Plugin Area"; - UpdateDesktopPluginArea(); + //UpdateDesktopPluginArea(); //qDebug() << " - Done With Desktop Geom Updates"; QTimer::singleShot(0, this, SLOT(UpdatePanels())); } @@ -485,15 +485,15 @@ void LDesktop::UpdateDesktopPluginArea(){ //Now make sure the desktop plugin area is only the visible area QRect rec = visReg.boundingRect(); // QRect rec = LSession::desktop()->availableGeometry(Screen()); - qDebug() << " - DPArea: Panel-Adjusted rectangle:" << rec; - qDebug() << " - DPArea: Screen Geometry:" << LSession::desktop()->screenGeometry(Screen()); - qDebug() << " - DPArea: Current Geometry:" << bgDesktop->geometry(); + //qDebug() << " - DPArea: Panel-Adjusted rectangle:" << rec; + //qDebug() << " - DPArea: Screen Geometry:" << LSession::desktop()->screenGeometry(Screen()); + //qDebug() << " - DPArea: Current Geometry:" << bgDesktop->geometry(); //LSession::handle()->XCB->SetScreenWorkArea((unsigned int) Screen(), rec); //Now remove the X offset to place it on the current screen (needs widget-coords, not global) globalWorkRect = rec; //save this for later rec.moveTopLeft( QPoint( rec.x()-LSession::desktop()->screenGeometry(Screen()).x() , rec.y()-LSession::desktop()->screenGeometry(Screen()).y() ) ); //qDebug() << "DPlug Area:" << rec << bgDesktop->geometry() << LSession::handle()->desktop()->availableGeometry(bgDesktop); - if(rec.size().isNull() || rec == bgDesktop->geometry()){return; } //nothing changed + if(rec.size().isNull() ){ return; } //|| rec == bgDesktop->geometry()){return; } //nothing changed //bgDesktop->show(); //make sure Fluxbox is aware of it *before* we start moving it bgDesktop->setGeometry( LSession::desktop()->screenGeometry(Screen())); //bgDesktop->resize(LSession::desktop()->screenGeometry(Screen()).size()); |