summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2015-02-02 16:25:36 +0100
committerSimon Rettberg2015-02-02 16:25:36 +0100
commit09d3aa09d128e1eb176601f4837142d10b691d50 (patch)
tree14a2cf2167d88cdb5e28dbdfaab7229234fb59e6
parentSet mouse pointer after backup, too. Fixed ugly transparency. (diff)
downloadbeamergui-09d3aa09d128e1eb176601f4837142d10b691d50.tar.gz
beamergui-09d3aa09d128e1eb176601f4837142d10b691d50.tar.xz
beamergui-09d3aa09d128e1eb176601f4837142d10b691d50.zip
Stay on top
-rw-r--r--src/widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget.cpp b/src/widget.cpp
index 431b0b4..c418d0e 100644
--- a/src/widget.cpp
+++ b/src/widget.cpp
@@ -198,7 +198,7 @@ Widget::Widget(QWidget *parent) :
_ui->comboBox->setCurrentIndex(index);
// Remove borders and stuff
- setWindowFlags(windowFlags() | Qt::FramelessWindowHint);
+ setWindowFlags(windowFlags() | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint | Qt::X11BypassWindowManagerHint);
//setStyleSheet("background:transparent;");
//setAttribute(Qt::WA_TranslucentBackground);