Summary: | Kwin aborts when window switcher is activitated through screenedges | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Bhushan Shah <bhush94> |
Component: | tabbox | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kwin/d44aedbcac1150d276e02dc85744b789ab7fe4b8 | Version Fixed In: |
Description
Bhushan Shah
2014-07-28 11:19:37 UTC
diff --git a/tabbox/tabbox.cpp b/tabbox/tabbox.cpp index b4ccbde..5a2d7e2 100644 --- a/tabbox/tabbox.cpp +++ b/tabbox/tabbox.cpp @@ -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)) --------- Prepare for the tabbox to not show up either (from what i can say this is probably related to not finding the tabbox qml module) ShipIt Git commit d44aedbcac1150d276e02dc85744b789ab7fe4b8 by Thomas Lübking. Committed on 11/08/2014 at 10:35. Pushed by luebking into branch 'master'. always use establishTabBoxGrab instead un/grabX* M +1 -2 tabbox/tabbox.cpp http://commits.kde.org/kwin/d44aedbcac1150d276e02dc85744b789ab7fe4b8 |