https://bugs.kde.org/show_bug.cgi?id=478647

Vlad Zahorodnii <vlad.zahorod...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/b98607c689
                   |                            |3633e0b5743132049e903ff59f5
                   |                            |33e
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit b98607c6893633e0b5743132049e903ff59f533e by Vlad Zahorodnii.
Committed on 15/01/2024 at 15:24.
Pushed by vladz into branch 'master'.

Fix cleanup of forced window shortcuts

XdgToplevelWindow doesn't call finishWindowRules(). It creates a problem
for Workspace::removeWindow() because it calls setShortcut() to release
the window shortcut.

While one way to fix the bug would be to add a finishWindowRules() call
in XdgToplevelWindow, it would perhaps be not the best one because it
would change the appearance of decoration when the window is closed.

Instead, this change makes the workspace release the shortcut when the
window is closed. It has a couple of advantages: the appearance of the
decoration won't change, shortcut cleanup is better encapsulated.

M  +5    -0    src/useractions.cpp
M  +0    -4    src/workspace.cpp

https://invent.kde.org/plasma/kwin/-/commit/b98607c6893633e0b5743132049e903ff59f533e

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to