do not show clientmenu if button is down for 2nd click
if one clicks very fast, the timeout will coincident with the second downtime (between press and release) what was used to be interpreted as "still down" BUG: 305738 REVIEW: 106227 FIXED-IN: 4.9.1
This commit is contained in:
parent
7d2e62b487
commit
c3bce7c246
1 changed files with 2 additions and 2 deletions
|
@ -737,10 +737,10 @@ void KCommonDecoration::timerEvent(QTimerEvent *event)
|
|||
{
|
||||
if (timer && event->timerId() == timer->timerId()) {
|
||||
timer->stop();
|
||||
closing = false;
|
||||
if (!m_button[MenuButton]->isDown()) {
|
||||
if (closing || !m_button[MenuButton]->isDown()) {
|
||||
return;
|
||||
}
|
||||
closing = false;
|
||||
doShowWindowMenu();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue