shell: Inhibit idle fade-out behavior
When a client has registered idle inhibition on a surface, don't trigger the fade-out animation on the output(s) the surface is displayed on. But when the surface is destroyed or the inhibitor itself is destroyed by client request, re-queue the fade out animation.
This commit is contained in:
@@ -3930,7 +3930,10 @@ bind_subcompositor(struct wl_client *client,
|
||||
compositor, NULL);
|
||||
}
|
||||
|
||||
/** Set a DPMS mode on all of the compositor's outputs
|
||||
/** Apply a DPMS mode to the compositor's outputs.
|
||||
*
|
||||
* Outputs may skip setting the DPMS state if they are being used to
|
||||
* display an surface that is requesting idle behaviors be inhibited.
|
||||
*
|
||||
* \param compositor The compositor instance
|
||||
* \param state The DPMS state the outputs will be set to
|
||||
|
||||
Reference in New Issue
Block a user