aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2016-10-24 10:55:08 -0400
committerKen Moore <ken@ixsystems.com>2016-10-24 10:55:08 -0400
commit0032544d7d9607ad544dd427ea1bd012291ff962 (patch)
tree4acfa48089801d179d334ded012d6f87aa3e4b55 /src-qt5/core
parentFor desktop icons, only check if there is a name to decide when to show it. (diff)
downloadlumina-0032544d7d9607ad544dd427ea1bd012291ff962.tar.gz
lumina-0032544d7d9607ad544dd427ea1bd012291ff962.tar.bz2
lumina-0032544d7d9607ad544dd427ea1bd012291ff962.zip
Fix the "sticky" status on the wallpaper widgets.
Diffstat (limited to 'src-qt5/core')
-rw-r--r--src-qt5/core/lumina-desktop/LDesktop.cpp1
-rw-r--r--src-qt5/core/lumina-desktop/LDesktopPluginSpace.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop/LDesktop.cpp b/src-qt5/core/lumina-desktop/LDesktop.cpp
index 8b1bd825..1a11899d 100644
--- a/src-qt5/core/lumina-desktop/LDesktop.cpp
+++ b/src-qt5/core/lumina-desktop/LDesktop.cpp
@@ -230,6 +230,7 @@ void LDesktop::InitDesktop(){
else if(grid<0){ grid = 100; }
bgDesktop->SetIconSize( grid );
bgDesktop->setContextMenuPolicy(Qt::CustomContextMenu);
+ //LSession::handle()->XCB->SetAsDesktop(bgDesktop->winId());
connect(bgDesktop, SIGNAL(PluginRemovedByUser(QString)), this, SLOT(RemoveDeskPlugin(QString)) );
connect(bgDesktop, SIGNAL(IncreaseIcons()), this, SLOT(IncreaseDesktopPluginIcons()) );
connect(bgDesktop, SIGNAL(DecreaseIcons()), this, SLOT(DecreaseDesktopPluginIcons()) );
diff --git a/src-qt5/core/lumina-desktop/LDesktopPluginSpace.cpp b/src-qt5/core/lumina-desktop/LDesktopPluginSpace.cpp
index 592f3481..18126dfa 100644
--- a/src-qt5/core/lumina-desktop/LDesktopPluginSpace.cpp
+++ b/src-qt5/core/lumina-desktop/LDesktopPluginSpace.cpp
@@ -29,6 +29,7 @@ LDesktopPluginSpace::LDesktopPluginSpace() : QWidget(){
TopToBottom = true;
GRIDSIZE = 100.0; //default value if not set
plugsettings = LSession::handle()->DesktopPluginSettings();
+ LSession::handle()->XCB->SetAsDesktop(this->winId());
//this->setWindowOpacity(0.0);
}
bgstack15