[wip] layer: focus client on popup-grab focus

...to ensure client gets keyboard focus when the popup was triggered by
IPC.

Requires wlroots >= 0.20.0 (assuming it gets merged)
This commit is contained in:
Johan Malm 2026-02-12 20:14:13 +00:00
parent 918c3290fc
commit a8bd7947ee
4 changed files with 33 additions and 0 deletions

View file

@ -375,6 +375,7 @@ void desktop_focus_topmost_view(struct server *server);
void seat_init(struct server *server);
void seat_finish(struct server *server);
void seat_reconfigure(struct server *server);
void seat_force_focus_surface(struct seat *seat, struct wlr_surface *surface);
void seat_focus_surface(struct seat *seat, struct wlr_surface *surface);
void seat_pointer_end_grab(struct seat *seat, struct wlr_surface *surface);