mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
set popup window to x11 bypass
Change-Id: I614ce89e5c51a81dd73d65cb1532bd96fb849aea
This commit is contained in:
parent
e9d398ad33
commit
e9d9c0477a
Notes:
Deepin Code Review
2016-08-11 09:08:10 +00:00
Verified+1: Anonymous Coward #1000004 Verified+1: <wangyanli@linuxdeepin.com> Code-Review+2: 杨万青 <yangwanqing@linuxdeepin.com> Submitted-by: 石博文 <sbw@sbw.so> Submitted-at: Thu, 11 Aug 2016 09:08:10 +0000 Reviewed-on: https://cr.deepin.io/15120 Project: dde/dde-dock Branch: refs/heads/master
@ -13,6 +13,8 @@ DockPopupWindow::DockPopupWindow(QWidget *parent)
|
||||
m_acceptDelayTimer->setSingleShot(true);
|
||||
m_acceptDelayTimer->setInterval(100);
|
||||
|
||||
setWindowFlags(Qt::X11BypassWindowManagerHint);
|
||||
|
||||
connect(m_acceptDelayTimer, &QTimer::timeout, this, &DockPopupWindow::accept);
|
||||
connect(m_mouseInter, &DBusXMouseArea::ButtonRelease, this, &DockPopupWindow::globalMouseRelease);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user