aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core')
-rw-r--r--src-qt5/core/lumina-desktop/LPanel.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop/LPanel.cpp b/src-qt5/core/lumina-desktop/LPanel.cpp
index 0f5789ee..bf063a31 100644
--- a/src-qt5/core/lumina-desktop/LPanel.cpp
+++ b/src-qt5/core/lumina-desktop/LPanel.cpp
@@ -194,6 +194,9 @@ void LPanel::UpdatePanel(bool geomonly){
}
}
if(DEBUG){ qDebug() << " - Done with panel geometry"; }
+ //Double check that the "sticky" bit is set on the window state
+ bool needsticky = !LSession::handle()->XCB->WM_Get_Window_States(this->winId()).contains(LXCB::S_STICKY);
+ if(needsticky){ LSession::handle()->XCB->SetAsSticky(this->winId()); }
if(geomonly){ return; }
//Now update the appearance of the toolbar
if(settings->value(PPREFIX+"customColor", false).toBool()){
bgstack15