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

Zamundaaa <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/0570b3329a
                   |                            |5d37852106adc710146c7d5a84b
                   |                            |fe7
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Zamundaaa <[email protected]> ---
Git commit 0570b3329a5d37852106adc710146c7d5a84bfe7 by Xaver Hugl.
Committed on 17/12/2025 at 15:11.
Pushed by zamundaaa into branch 'master'.

workspace: add support for automatic brightness adjustments

The brightness setting of each output with auto brightness enabled is adjusted
automatically based on light sensor measurements.
The curve that decides which setting the display should be configured towards
is relatively simple: It's just 6 lux values, each for a 20% brightness step.

When the user adjusts the brightness manually, with either slider or brightness
keys, the curve is adjusted automatically to match. That adjustment is super
basic right now, but it seems to be good enough for the feature to be usable,
and can be improved later on.

M  +15   -0    src/backends/drm/drm_output.cpp
M  +2    -0    src/backends/drm/drm_output.h
M  +11   -1    src/compositor.cpp
M  +105  -0    src/core/backendoutput.cpp
M  +41   -0    src/core/backendoutput.h
M  +17   -0    src/core/outputconfiguration.h
M  +30   -0    src/outputconfigurationstore.cpp
M  +3    -0    src/outputconfigurationstore.h
M  +1    -0    src/utils/CMakeLists.txt
A  +70   -0    src/utils/lightsensor.cpp     [License: GPL(v2.0+)]
A  +41   -0    src/utils/lightsensor.h     [License: GPL(v2.0+)]
M  +28   -1    src/wayland/outputdevice_v2.cpp
M  +1    -0    src/wayland/outputdevice_v2.h
M  +14   -1    src/wayland/outputmanagement_v2.cpp
M  +51   -14   src/workspace.cpp
M  +3    -0    src/workspace.h

https://invent.kde.org/plasma/kwin/-/commit/0570b3329a5d37852106adc710146c7d5a84bfe7

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

Reply via email to