diff --git a/docs/configuration/monitors.md b/docs/configuration/monitors.md index ff6cb8fa..15ddfbaa 100644 --- a/docs/configuration/monitors.md +++ b/docs/configuration/monitors.md @@ -106,7 +106,7 @@ Tearing allows games to bypass the compositor's VSync for lower latency. ## HDR | Setting | Default | Description | | :--- | :--- | :--- | -| `hdr_hdr_depth` | `0`/`1`/`2` | Set the hdr depth for the current display. `0` is Default, `1` is HDR8, `2` is HDR10. | +| `hdr_depth` | `2`| Set the hdr depth for the current display. `0` is Default, `1` is HDR8, `2` is HDR10. | - you should enable HDR in monitorrule first, refer to [Monitors — Monitor Rules](/docs/configuration/monitors#monitor-rules) - you must set `env=WLR_RENDERER,vulkan` before mango starts. diff --git a/src/config/parse_config.h b/src/config/parse_config.h index 56dbe68d..f7883bf6 100644 --- a/src/config/parse_config.h +++ b/src/config/parse_config.h @@ -3727,7 +3727,7 @@ void set_value_default() { config.drag_tile_refresh_interval = 8.0f; config.drag_floating_refresh_interval = 8.0f; config.allow_tearing = TEARING_DISABLED; - config.hdr_depth = MANGO_RENDER_BIT_DEPTH_DEFAULT; + config.hdr_depth = MANGO_RENDER_BIT_DEPTH_10; config.allow_shortcuts_inhibit = SHORTCUTS_INHIBIT_ENABLE; config.allow_lock_transparent = 0; config.no_border_when_single = 0;