mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 15:04:36 +03:00
Add focus tracking for Wayland
This commit is contained in:
parent
6558230c9f
commit
71acd7d2a9
@ -302,7 +302,8 @@ impl WaylandWindowInner {
|
||||
.key_event(&key_event, &Window::Wayland(WaylandWindow(self.window_id)));
|
||||
}
|
||||
KeyboardEvent::Modifiers { modifiers } => self.modifiers = modifiers,
|
||||
KeyboardEvent::Enter { .. } | KeyboardEvent::Leave { .. } => {}
|
||||
KeyboardEvent::Enter { .. } => self.callbacks.focus_change(true),
|
||||
KeyboardEvent::Leave { .. } => self.callbacks.focus_change(false),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user