Create a headless keyboard input device during wl_display_open and attach it to wlr_seat so wlr_seat_keyboard_notify_enter() can deliver keyboard focus to XDG toplevel surfaces. Implement wl_focus_set: look up the view by synthetic ID, call wlr_seat_keyboard_notify_enter with the xdg_surface->surface. Call wl_focus_set from handle_toplevel_map immediately after wManageWindow so newly mapped toplevels receive keyboard focus. Smoke test: add Phase 43 check — grep "focus_set id=" in stderr. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| test_geom.c | ||
| test_x11_event.c | ||
| wl-smoke-test.sh | ||
| x11-smoke-test.sh | ||