diff options
| author | 2023-01-02 21:14:41 +0100 | |
|---|---|---|
| committer | 2023-01-02 21:14:41 +0100 | |
| commit | dd25e93be0d5e5772bf535de38894f285cfb7768 (patch) | |
| tree | 725a56c081144ae5fe8f15b009246a296340f6dd /native | |
| parent | 81cd0c45b7f18d6f695c16bb1f5ab05b29dc7037 (diff) | |
| download | iced-dd25e93be0d5e5772bf535de38894f285cfb7768.tar.gz iced-dd25e93be0d5e5772bf535de38894f285cfb7768.tar.bz2 iced-dd25e93be0d5e5772bf535de38894f285cfb7768.zip | |
Rename `FocusWindow` to `GainFocus` in `window::Action`
Diffstat (limited to '')
| -rw-r--r-- | native/src/window/action.rs | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/native/src/window/action.rs b/native/src/window/action.rs index 41d41ee7..37fcc273 100644 --- a/native/src/window/action.rs +++ b/native/src/window/action.rs @@ -68,7 +68,7 @@ pub enum Action<T> {      /// ## Platform-specific      ///      /// - **Web / Wayland:** Unsupported. -    FocusWindow, +    GainFocus,  }  impl<T> Action<T> { @@ -94,7 +94,7 @@ impl<T> Action<T> {              Self::RequestUserAttention(attention_type) => {                  Action::RequestUserAttention(attention_type)              } -            Self::FocusWindow => Action::FocusWindow, +            Self::GainFocus => Action::GainFocus,          }      }  } @@ -121,7 +121,7 @@ impl<T> fmt::Debug for Action<T> {              Self::RequestUserAttention(_) => {                  write!(f, "Action::RequestUserAttention")              } -            Self::FocusWindow => write!(f, "Action::FocusWindow"), +            Self::GainFocus => write!(f, "Action::GainFocus"),          }      }  } | 
