fix wayvr keyboard focus

This commit is contained in:
galister
2025-03-10 02:02:52 +09:00
parent b0883e81bf
commit 59b489680a

View File

@@ -442,7 +442,6 @@ impl Display {
if let Some(window) = wm.windows.get(&window_handle) {
let surf = window.toplevel.wl_surface().clone();
if manager.seat_keyboard.current_focus().is_none() {
manager.seat_keyboard.set_focus(
&mut manager.state,
Some(surf),
@@ -450,7 +449,6 @@ impl Display {
);
}
}
}
manager.seat_pointer.button(
&mut manager.state,