Give keyboard focus to unmanaged xwayland surfaces

This fixes dmenu
This commit is contained in:
emersion 2018-04-07 14:03:30 -04:00
parent a5d06b6e2b
commit 2b357af7ee
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 58 additions and 36 deletions

View file

@ -64,6 +64,9 @@ void seat_set_focus(struct sway_seat *seat, struct sway_container *container);
void seat_set_focus_warp(struct sway_seat *seat,
struct sway_container *container, bool warp);
void seat_set_focus_surface(struct sway_seat *seat,
struct wlr_surface *surface);
void seat_set_focus_layer(struct sway_seat *seat,
struct wlr_layer_surface *layer);