diff options
author | 2023-12-05 01:03:09 +0100 | |
---|---|---|
committer | 2023-12-05 01:03:09 +0100 | |
commit | fc285d3e461626408c56bbc1605fcf0c974b2f69 (patch) | |
tree | 8aca292516d9aa43b78a14f51dd90caf60c691d7 /widget/src/text_input.rs | |
parent | 8727b3fc50ec251d9c117c51ca1289be5ba9b117 (diff) | |
parent | 5c5e7653bed248ba63faa6563e4d673e4441415e (diff) | |
download | iced-fc285d3e461626408c56bbc1605fcf0c974b2f69.tar.gz iced-fc285d3e461626408c56bbc1605fcf0c974b2f69.tar.bz2 iced-fc285d3e461626408c56bbc1605fcf0c974b2f69.zip |
Merge pull request #1964 from bungoboingo/feat/multi-window-support
[Feature] 🪟 Multi Window 🪟 .. redux!
Diffstat (limited to 'widget/src/text_input.rs')
-rw-r--r-- | widget/src/text_input.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/widget/src/text_input.rs b/widget/src/text_input.rs index ab0e2412..65d3e1eb 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(); 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(); 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(); if let Some(focus) = &mut state.is_focused { |