https://bugs.kde.org/show_bug.cgi?id=505060
Zamundaaa <xaver.h...@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/kwin/-/commit/ada3f238db |ma/kwin/-/commit/dc3f798e74 |01027b7100afe60868f75b64828 |b5b049c1506246fa37e27510525 |018 |65c --- Comment #6 from Zamundaaa <xaver.h...@kde.org> --- Git commit dc3f798e74b5b049c1506246fa37e2751052565c by Xaver Hugl. Committed on 03/06/2025 at 12:08. Pushed by zamundaaa into branch 'Plasma/6.3'. scene/workspacescene: restrict frame callbacks based on the output rather than geometry Sending frame callbacks based on whether or not the bounding rect intersects with the rendered output has two big problems: - when a window is entirely off-screen, it never gets frame callbacks. This is particularly problematic when the application waits for frame callbacks to render the next frame, but KWin waits with moving them to an output until the application commits the surface - when a window is on two outputs at once (like with cloning), then it gets twice the amount of frame callbacks - which means the application ends up rendering twice as fast, which doesn't make any sense This commit replaces that approach with just checking if the output is the same as the one Workspace picks for the center of the window. If the window is entirely off-screen, that will still result in an output getting chosen, and it also can't be on two outputs at once. Related: bug 479694, bug 498628 (cherry picked from commit 8424bf88b67800c3d22384022e60c08d26e50ea4) M +1 -1 src/scene/workspacescene.cpp https://invent.kde.org/plasma/kwin/-/commit/dc3f798e74b5b049c1506246fa37e2751052565c -- You are receiving this mail because: You are watching all bug changes.