Debian Patches
Status for kwin/4:6.6.4-1
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| upstream_59b38d97_backends-libinput-Fix-dangling-InputDevices-on-shutdown.patch | backends/libinput: Fix dangling InputDevices on shutdown The current logic assumes that when m_thread.quit(); m_thread.wait(); runs, the Connection will emit the deviceRemoved() signal for every available input device and the InputRedirection will perform cleanup. Unfortunately, it is not quite the case. There are two relevant connections: connect(m_connection, &LibInput::Connection::deviceRemoved, this, &InputBackend::deviceRemoved, Qt::DirectConnection); in LibinputBackend::LibinputBackend(), and connect(inputBackend.get(), &InputBackend::deviceRemoved, this, &InputRedirection::removeInputDevice); in InputRedirection::addInputBackend(). The one in the LibinputBackend constructor works as expected, but the one in the InputRedirection effectively becomes queued because the current thread is the connection thread. This can lead to InputRedirection::devices() including dangling pointers. There are two ways to fix the issue: * make the connection in InputRedirection direct * or somehow make sure that the LibinputBackend emits the deviceRemoved() signal on the correct thread The problem with the first approach is that it breaks encapsulation and it's just not a good fix, the API should remain intuitive without hidden footguns. So this patch aims to fix the thread on which the LibinputBackend::deviceRemoved() signal gets emitted. (cherry picked from commit 7cde71bb5d19f43342b8f88158c88c134ba9e154) |
Vlad Zahorodnii <vlad.zahorodnii@kde.org> | no | 2026-04-17 | ||
| upstream_056cf1ce_activation-restore-code-updating-layers-of-fullscreen-windows.patch | activation: restore code updating layers of fullscreen windows It was removed because there's similar code in Window::setActive, but the code in Window::setActive only updates the main window of the window itself, while we actually need to update the layers of all fullscreen windows on all screens. (cherry picked from commit 82a020e3f27120ec77391902f6bec70ff900ff5c) |
Xaver Hugl <xaver.hugl@kde.org> | no | upstream | 2026-04-21 |
All known versions for source package 'kwin'
- 4:6.6.4-1 (sid)
- 4:6.6.3-3 (forky)
- 4:6.3.6-1 (trixie)
- 4:5.27.5-3 (bookworm)
