Remove code that updates the focus chain in Window::setSkipTaskbar()
skipsTaskbar() doesn't influence whether the window wants input.
This commit is contained in:
parent
0fc6c6800e
commit
7fca508619
1 changed files with 0 additions and 4 deletions
|
@ -453,16 +453,12 @@ void Window::doSetSkipPager()
|
|||
|
||||
void Window::setSkipTaskbar(bool b)
|
||||
{
|
||||
int was_wants_tab_focus = wantsTabFocus();
|
||||
if (b == skipTaskbar()) {
|
||||
return;
|
||||
}
|
||||
m_skipTaskbar = b;
|
||||
doSetSkipTaskbar();
|
||||
updateWindowRules(Rules::SkipTaskbar);
|
||||
if (was_wants_tab_focus != wantsTabFocus()) {
|
||||
Workspace::self()->focusChain()->update(this, isActive() ? FocusChain::MakeFirst : FocusChain::Update);
|
||||
}
|
||||
Q_EMIT skipTaskbarChanged();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue