From 7fca508619bd5702889b8cff1a7ad859e6dca25d Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Mon, 17 Jun 2024 18:00:51 +0300 Subject: [PATCH] Remove code that updates the focus chain in Window::setSkipTaskbar() skipsTaskbar() doesn't influence whether the window wants input. --- src/window.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/window.cpp b/src/window.cpp index a513011137..c8bab82e6a 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -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(); }