[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kde-workspace/kwin/mart/tabboxFixes] kwin/tabbox: force active window again when selecting the same
From:       Marco Martin <notmart () gmail ! com>
Date:       2012-02-13 10:27:22
Message-ID: 20120213102722.66906A60A6 () git ! kde ! org
[Download RAW message or body]

Git commit 5d007717904ef922d50a9618d105e4c7c6651555 by Marco Martin.
Committed on 13/02/2012 at 11:12.
Pushed by mart into branch 'kwin/mart/tabboxFixes'.

force active window again when selecting the same index

M  +1    -0    kwin/tabbox/declarative.cpp

http://commits.kde.org/kde-workspace/5d007717904ef922d50a9618d105e4c7c66515=
55

diff --git a/kwin/tabbox/declarative.cpp b/kwin/tabbox/declarative.cpp
index 9d00404..0ee8dc0 100644
--- a/kwin/tabbox/declarative.cpp
+++ b/kwin/tabbox/declarative.cpp
@@ -319,6 +319,7 @@ void DeclarativeView::setCurrentIndex(const QModelIndex=
 &index)
 void DeclarativeView::currentIndexChanged(int row)
 {
     tabBox->setCurrentIndex(m_model->index(row, 0));
+    KWindowSystem::forceActiveWindow(m_model->data(m_model->index(row, 0),=
 ClientModel::WIdRole).toInt());
 }
 =

 void DeclarativeView::updateQmlSource(bool force)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic