diff options
Diffstat (limited to '')
| -rw-r--r-- | widget/src/shader.rs | 2 | ||||
| -rw-r--r-- | widget/src/text_input.rs | 6 | 
2 files changed, 4 insertions, 4 deletions
| diff --git a/widget/src/shader.rs b/widget/src/shader.rs index fad2f4eb..473cfd0d 100644 --- a/widget/src/shader.rs +++ b/widget/src/shader.rs @@ -107,7 +107,7 @@ where                  Some(Event::Keyboard(keyboard_event))              }              core::Event::Touch(touch_event) => Some(Event::Touch(touch_event)), -            core::Event::Window(_, window::Event::RedrawRequested(instant)) => { +            core::Event::Window(window::Event::RedrawRequested(instant)) => {                  Some(Event::RedrawRequested(instant))              }              _ => None, diff --git a/widget/src/text_input.rs b/widget/src/text_input.rs index 941e9bde..dc4f83e0 100644 --- a/widget/src/text_input.rs +++ b/widget/src/text_input.rs @@ -1003,14 +1003,14 @@ where                  state.keyboard_modifiers = modifiers;              } -            Event::Window(_, window::Event::Unfocused) => { +            Event::Window(window::Event::Unfocused) => {                  let state = state::<Renderer>(tree);                  if let Some(focus) = &mut state.is_focused {                      focus.is_window_focused = false;                  }              } -            Event::Window(_, window::Event::Focused) => { +            Event::Window(window::Event::Focused) => {                  let state = state::<Renderer>(tree);                  if let Some(focus) = &mut state.is_focused { @@ -1020,7 +1020,7 @@ where                      shell.request_redraw(window::RedrawRequest::NextFrame);                  }              } -            Event::Window(_, window::Event::RedrawRequested(now)) => { +            Event::Window(window::Event::RedrawRequested(now)) => {                  let state = state::<Renderer>(tree);                  if let Some(focus) = &mut state.is_focused { | 
