KDE contrast
org_kde_kwin_contrast_manager
version 2
create(id: new_id<org_kde_kwin_contrast>, surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
id | new_id<org_kde_kwin_contrast> | |
surface | object<wl_surface> |
unset(surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> |
org_kde_kwin_contrast
version 2
commit()
set_saturation(saturation: fixed)
Argument | Type | Description |
---|---|---|
saturation | fixed |
opt into frost effect w/ given colour
enables 'frost' variant of contrast effect.
'frost' is an enhanced version of the contrast effect that uses different colour arithmetic to get backgrounds simultaneously higher in contrast and (apparent) transparency.
r, g, b, a are channels from 0-255, indicating a colour to use in contrast calculation. should be based off of the "main" background colour of the surface.
Compositor Support
Mutter 46 | KWin 6.2 | Sway 1.9 | COSMIC 1.0.0 | Hyprland 0.42.0 | niri 0.1.8 | Weston 13 | Mir 2.18 | GameScope 3.15.14 | Jay 1.7.0 | |
---|---|---|---|---|---|---|---|---|---|---|
org_kde_kwin_contrast_manager | x | 2 | x | x | x | x | x | x | x | x |
Copyright
SPDX-FileCopyrightText: 2015 Martin Gräßlin SPDX-FileCopyrightText: 2015 Marco Martin
SPDX-License-Identifier: LGPL-2.1-or-later