Change summary
crates/gpui/src/window.rs | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
Detailed changes
@@ -1273,7 +1273,7 @@ impl Window {
if !self.focus_enabled || self.focus == Some(handle.id) {
return;
}
-
+ println!("actually setting focus");
self.focus = Some(handle.id);
self.clear_pending_keystrokes();
self.refresh();
@@ -1809,6 +1809,13 @@ impl Window {
let current_focus_path = self.rendered_frame.focus_path();
let current_window_active = self.rendered_frame.window_active;
+ dbg!(
+ &previous_focus_path,
+ ¤t_focus_path,
+ &previous_window_active,
+ ¤t_window_active
+ );
+
if previous_focus_path != current_focus_path
|| previous_window_active != current_window_active
{