@@ -81,11 +81,11 @@ pub enum Action<T> {
8181 GainFocus ( Id ) ,
8282 /// Change the window [`Level`].
8383 ChangeLevel ( Id , Level ) ,
84- /// Show window menu at cursor position.
84+ /// Show the system menu at cursor position.
8585 ///
8686 /// ## Platform-specific
8787 /// Android / iOS / macOS / Orbital / Web / X11: Unsupported.
88- ShowWindowMenu ( Id ) ,
88+ ShowSystemMenu ( Id ) ,
8989 /// Fetch the raw identifier unique to the window.
9090 FetchId ( Id , Box < dyn FnOnce ( u64 ) -> T + ' static > ) ,
9191 /// Change the window [`Icon`].
@@ -146,7 +146,7 @@ impl<T> Action<T> {
146146 }
147147 Self :: GainFocus ( id) => Action :: GainFocus ( id) ,
148148 Self :: ChangeLevel ( id, level) => Action :: ChangeLevel ( id, level) ,
149- Self :: ShowWindowMenu ( id) => Action :: ShowWindowMenu ( id) ,
149+ Self :: ShowSystemMenu ( id) => Action :: ShowSystemMenu ( id) ,
150150 Self :: FetchId ( id, o) => {
151151 Action :: FetchId ( id, Box :: new ( move |s| f ( o ( s) ) ) )
152152 }
@@ -206,8 +206,8 @@ impl<T> fmt::Debug for Action<T> {
206206 Self :: ChangeLevel ( id, level) => {
207207 write ! ( f, "Action::ChangeLevel({id:?}, {level:?})" )
208208 }
209- Self :: ShowWindowMenu ( id) => {
210- write ! ( f, "Action::ShowWindowMenu ({id:?})" )
209+ Self :: ShowSystemMenu ( id) => {
210+ write ! ( f, "Action::ShowSystemMenu ({id:?})" )
211211 }
212212 Self :: FetchId ( id, _) => write ! ( f, "Action::FetchId({id:?})" ) ,
213213 Self :: ChangeIcon ( id, _icon) => {
0 commit comments