aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-01-08 08:15:09 -0500
committerKen Moore <ken@pcbsd.org>2015-01-08 08:15:09 -0500
commitdff7f0ec18f4114fa6deb2d442572c9557d8c7c6 (patch)
treed15c7a43ae186a658e885865a2bfb1ab5343ea9b /lumina-desktop
parentdebian: missing dependency on qttools5-dev-tools (diff)
downloadlumina-dff7f0ec18f4114fa6deb2d442572c9557d8c7c6.tar.gz
lumina-dff7f0ec18f4114fa6deb2d442572c9557d8c7c6.tar.bz2
lumina-dff7f0ec18f4114fa6deb2d442572c9557d8c7c6.zip
Set the "Does not accept focus" Qt flag on the base Lumina Panel window.
Diffstat (limited to 'lumina-desktop')
-rw-r--r--lumina-desktop/LPanel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lumina-desktop/LPanel.cpp b/lumina-desktop/LPanel.cpp
index 8caaa8e9..6a4c55d8 100644
--- a/lumina-desktop/LPanel.cpp
+++ b/lumina-desktop/LPanel.cpp
@@ -31,7 +31,7 @@ LPanel::LPanel(QSettings *file, int scr, int num, QWidget *parent) : QWidget(){
qDebug() << " -- Setup Panel";
this->setContentsMargins(0,0,0,0);
this->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
- this->setWindowFlags(Qt::Tool | Qt::WindowStaysOnTopHint | Qt::FramelessWindowHint );
+ this->setWindowFlags(Qt::Tool | Qt::WindowStaysOnTopHint | Qt::FramelessWindowHint | Qt::WindowDoesNotAcceptFocus);
this->setWindowTitle("");
this->setObjectName("LuminaPanelWidget");
@@ -43,7 +43,7 @@ LPanel::LPanel(QSettings *file, int scr, int num, QWidget *parent) : QWidget(){
panelArea->setLayout(layout);
//Set special window flags on the panel for proper usage
this->show();
- this->setFocusPolicy(Qt::NoFocus);
+ //this->setFocusPolicy(Qt::NoFocus);
//panels cannot get keyboard focus otherwise it upsets the task manager window detection
this->setAttribute(Qt::WA_X11DoNotAcceptFocus);
this->setAttribute(Qt::WA_X11NetWmWindowTypeDock);
bgstack15