Debian Patches

Status for kwin/4:6.5.4-5

Patch Description Author Forwarded Bugs Origin Last update
upstream_fix_power_mode_freezing.patch core/sessions: don't take ownership of an fd that Qt will close

QDBusUnixFileDescriptor closes the file descriptor in its destructor, if we
want to take ownership of it, we need to duplicate the file descriptor.
If we don't duplicate it, but directly take "ownership" of the file descriptor,
the following sequence of events can happen:

1. ~QDBusUnixFileDescriptor closes file descriptor A
2. some new fd B is allocated, which happens to have the same handle as fd A
3. ~FileDescriptor closes fd A, but it has the same handle as fd, so it actually
closes fd B!
4. whenever fd B is used, we run into problems

To make such issues easier to debug in the future, this also adds debug logging
for when closing a file descriptor fails.

(cherry picked from commit 30a7f52841dd1c449965d0c9d5cd4915697ab129)
Xaver Hugl <xaver.hugl@kde.org> no upstream 2025-12-12
upstream_5bff544f_plugins-screencast-set-appropriate-minFramerate.patch plugins/screencast: set appropriate minFramerate
PipeWire 1.6.0 seems to have stricter checks on the default vs minimum
range. Currently KWin has a lower default than the minimum which breaks
negotiation. Fix by setting the minimum to zero.

0/1 should be selectable in order to do variable rate capture
(exceeding host screen refresh/letting clients pace), as KWin's pacing
currently doesn't work well when set to the host rate
(~3fps drop on a 60fps stream).
Conn O'Griofa <connogriofa@gmail.com> no 2026-03-06

All known versions for source package 'kwin'

Links