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

--- Comment #31 from Zamundaaa <[email protected]> ---
Git commit 9c049c724e239e68a6466468f8a8e3a2fd4e9402 by Xaver Hugl.
Committed on 02/03/2026 at 14:30.
Pushed by zamundaaa into branch 'master'.

wayland_server: handle suspend inhibition for kscreenlocker too

Each process can only have one inhibition at a time, so if KWin and
kscreenlocker both delay suspend, one of their requests fails.
This instead puts the inhibition file descriptor into a shared_ptr and shares
it between workspace and the screenlocker.
Related: bug 515550

M  +1    -1    src/core/session.h
M  +8    -4    src/core/session_consolekit.cpp
M  +2    -1    src/core/session_consolekit.h
M  +8    -4    src/core/session_logind.cpp
M  +2    -1    src/core/session_logind.h
M  +2    -2    src/core/session_noop.cpp
M  +1    -1    src/core/session_noop.h
M  +10   -0    src/wayland_server.cpp
M  +2    -0    src/wayland_server.h
M  +1    -1    src/workspace.h

https://invent.kde.org/plasma/kwin/-/commit/9c049c724e239e68a6466468f8a8e3a2fd4e9402

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

Reply via email to