doc: Add information about rapid hotplug detection

This commit appends information about the WLR_RAPID_HOTPLUG_PREVENT enviroment
variable from the previous commit to the documentation page on envrionment variables,
namely what its purpose is and that the user should be aware of a delay in the event
that a rapid hotplug occurs.
This commit is contained in:
Chris P 2024-04-03 05:34:36 -04:00
parent 2aa8cf10d6
commit 444f5eb4c8

View file

@ -14,6 +14,10 @@ wlroots reads these environment variables
hardware-accelerated renderers. hardware-accelerated renderers.
* *WLR_EGL_NO_MODIFIERS*: set to 1 to disable format modifiers in EGL, this can * *WLR_EGL_NO_MODIFIERS*: set to 1 to disable format modifiers in EGL, this can
be used to understand and work around driver bugs. be used to understand and work around driver bugs.
* *WLR_RAPID_HOTPLUG_PREVENT*: set to 1 to wait after an output device hotplug
in case another occurs immediately after, and if so, ignore both. This is to
work around monitors that implement DisplayPort's "deep sleep" feature, but
causes a second delay for each change event due to waiting.
## DRM backend ## DRM backend