aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/LSession.cpp
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-09-28 09:55:21 -0400
committerKen Moore <moorekou@gmail.com>2015-09-28 09:55:21 -0400
commit087b72590083c7a5d4ae5e333bdee01d6257cc56 (patch)
tree4c09eed199469dd3627b4c4a37c6e029d9b1cb61 /lumina-desktop/LSession.cpp
parentQuick update to just clear that internal "needThumbs" variable every time the... (diff)
downloadlumina-087b72590083c7a5d4ae5e333bdee01d6257cc56.tar.gz
lumina-087b72590083c7a5d4ae5e333bdee01d6257cc56.tar.bz2
lumina-087b72590083c7a5d4ae5e333bdee01d6257cc56.zip
Change which MoveResize calculation is used for window geometry check/verifications. This should fix the issue with *some* windows appearing with exactly the title bar off-screen.
Diffstat (limited to 'lumina-desktop/LSession.cpp')
-rw-r--r--lumina-desktop/LSession.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lumina-desktop/LSession.cpp b/lumina-desktop/LSession.cpp
index d1dc54e5..660e4c2b 100644
--- a/lumina-desktop/LSession.cpp
+++ b/lumina-desktop/LSession.cpp
@@ -33,7 +33,7 @@ LSession::LSession(int &argc, char ** argv) : QApplication(argc, argv){
this->setEffectEnabled( Qt::UI_AnimateMenu, true);
this->setEffectEnabled( Qt::UI_AnimateCombo, true);
this->setEffectEnabled( Qt::UI_AnimateTooltip, true);
- this->setAttribute(Qt::AA_UseDesktopOpenGL);
+ //this->setAttribute(Qt::AA_UseDesktopOpenGL);
//this->setAttribute(Qt::AA_UseHighDpiPixmaps); //allow pixmaps to be scaled up as well as down
//this->setStyle( new MenuProxyStyle); //QMenu icon size override
SystemTrayID = 0; VisualTrayID = 0;
@@ -580,12 +580,12 @@ void LSession::adjustWindowGeom(WId win, bool maximize){
}
//Note: Fluxbox treats this weird, the origin point needs to be the total (frame included),
// but the size needs to be the raw (no frame) value
- if(XCB->WindowClass(win)=="Take Screenshot"){
+ //if(XCB->WindowClass(win)=="Take Screenshot"){
//Not sure why: but Fluxbox treats lumina-screenshot differently
XCB->MoveResizeWindow(win, geom);
- }else{
- XCB->MoveResizeWindow(win, QRect(fgeom.topLeft(), geom.size()) );
- }
+ //}else{
+ //XCB->MoveResizeWindow(win, QRect(fgeom.topLeft(), geom.size()) );
+ //}
}
}
bgstack15