Write missing window::Action helpers in window

This commit is contained in:
Héctor Ramón Jiménez 2023-01-31 04:08:19 +01:00
parent ecc5bfaeff
commit 98a717383a
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
2 changed files with 35 additions and 6 deletions

View file

@ -47,7 +47,7 @@ pub enum Action<T> {
ToggleDecorations,
/// Request user attention to the window, this has no effect if the application
/// is already focused. How requesting for user attention manifests is platform dependent,
/// see [`UserAttentionType`] for details.
/// see [`UserAttention`] for details.
///
/// Providing `None` will unset the request for user attention. Unsetting the request for
/// user attention might not be done automatically by the WM when the window receives input.