always use establishTabBoxGrab instead un/grabX*
BUG: 337853
This commit is contained in:
parent
16c432562d
commit
d44aedbcac
1 changed files with 1 additions and 2 deletions
|
@ -1091,11 +1091,10 @@ bool TabBox::toggle(ElectricBorder eb)
|
|||
if (!options->focusPolicyIsReasonable())
|
||||
return false; // not supported.
|
||||
if (isDisplayed()) {
|
||||
ungrabXKeyboard();
|
||||
accept();
|
||||
return true;
|
||||
}
|
||||
if (!grabXKeyboard())
|
||||
if (!establishTabBoxGrab())
|
||||
return false;
|
||||
m_noModifierGrab = m_tabGrab = true;
|
||||
if (m_borderAlternativeActivate.contains(eb))
|
||||
|
|
Loading…
Reference in a new issue