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

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/35adcfe36a
                   |                            |613d5b949fea6f656c343aea570
                   |                            |89f
         Resolution|---                         |FIXED

--- Comment #9 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit 35adcfe36a613d5b949fea6f656c343aea57089f by David Edmundson.
Committed on 24/07/2023 at 16:52.
Pushed by davidedmundson into branch 'master'.

delete platform cursor before Application

We want the platform cursor to have roughly the same lifespan as the
application.

By using QObject parent mechanism, this gets deleted after the
Application destructor in the QObject destructor.

This causes an issue that removing an event filter (used by the X11
cursor) calls into the application singleton which is no longer valid.

M  +5    -4    src/backends/x11/standalone/x11_standalone_backend.cpp
M  +2    -1    src/backends/x11/standalone/x11_standalone_backend.h
M  +2    -2    src/backends/x11/standalone/x11_standalone_cursor.cpp
M  +1    -1    src/backends/x11/standalone/x11_standalone_cursor.h
M  +2    -3    src/cursor.cpp
M  +1    -1    src/cursor.h
M  +2    -1    src/input.cpp
M  +3    -3    src/main.cpp
M  +3    -1    src/main.h
M  +3    -2    src/main_x11.cpp
M  +1    -1    src/main_x11.h
M  +2    -2    src/pointer_input.cpp
M  +1    -1    src/pointer_input.h

https://invent.kde.org/plasma/kwin/-/commit/35adcfe36a613d5b949fea6f656c343aea57089f

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

Reply via email to