diff options
author | Ken Moore <ken@ixsystems.com> | 2016-10-24 10:55:08 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2016-10-24 10:55:08 -0400 |
commit | 0032544d7d9607ad544dd427ea1bd012291ff962 (patch) | |
tree | 4acfa48089801d179d334ded012d6f87aa3e4b55 /src-qt5/core/lumina-desktop | |
parent | For desktop icons, only check if there is a name to decide when to show it. (diff) | |
download | lumina-0032544d7d9607ad544dd427ea1bd012291ff962.tar.gz lumina-0032544d7d9607ad544dd427ea1bd012291ff962.tar.bz2 lumina-0032544d7d9607ad544dd427ea1bd012291ff962.zip |
Fix the "sticky" status on the wallpaper widgets.
Diffstat (limited to 'src-qt5/core/lumina-desktop')
-rw-r--r-- | src-qt5/core/lumina-desktop/LDesktop.cpp | 1 | ||||
-rw-r--r-- | src-qt5/core/lumina-desktop/LDesktopPluginSpace.cpp | 1 |
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); } |