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

--- Comment #24 from Jakob Petsovits <jpe...@petsovits.com> ---
Git commit 504f28d05d9db495c364fc034de5ea9905609a02 by Jakob Petsovits.
Committed on 23/01/2024 at 22:50.
Pushed by jpetso into branch 'master'.

libdpms: Guarantee validity of isSupported() right after construction

This reverts commit c37450e186a705e650f294ea7789f21b4133acbb,
which fixed turning off the screen on Esc when locked, but broke
some DPMS-related functions in PowerDevil, e.g. visibility of
display turn-off timeouts in the "Energy Saving" KCM.

As a slight change from before though, this does not reintroduce
the incorrect API docs statement that isSupported() would block
while initializing. Callers can avoid the use of supportedChanged
with a good conscience now, unless they track its state over time.

M  +1    -3    src/libdpms/dpms.h
M  +19   -24   src/libdpms/waylanddpmshelper.cpp
M  +0    -7    src/libdpms/xcbdpmshelper.cpp
M  +0    -3    src/libdpms/xcbdpmshelper_p.h

https://invent.kde.org/plasma/libkscreen/-/commit/504f28d05d9db495c364fc034de5ea9905609a02

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

Reply via email to