mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
fix popup not auto hide when using left-hand mouse
Change-Id: Ib7bf67e13177c3698459dfa0253c2c64c4fd1332
This commit is contained in:
parent
5c4b03fc28
commit
e7664fc2d3
Notes:
Deepin Code Review
2017-07-31 09:27:01 +08:00
Verified+1: Anonymous Coward #1000004 Verified+1: <zhaofangfang@linuxdeepin.com> Code-Review+2: 石博文 <sbw@sbw.so> Submitted-by: 石博文 <sbw@sbw.so> Submitted-at: Mon, 31 Jul 2017 09:26:58 +0800 Reviewed-on: https://cr.deepin.io/25093 Project: dde/dde-dock Branch: refs/heads/master
@ -128,9 +128,10 @@ bool DockPopupWindow::eventFilter(QObject *o, QEvent *e)
|
||||
|
||||
void DockPopupWindow::globalMouseRelease(int button, int x, int y, const QString &id)
|
||||
{
|
||||
Q_UNUSED(button);
|
||||
// button_left
|
||||
if (button != 1)
|
||||
return;
|
||||
// if (button != 1)
|
||||
// return;
|
||||
|
||||
if (id != m_mouseAreaKey)
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user