diff options
author | emersion <contact@emersion.fr> | 2018-04-07 14:03:30 -0400 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-04-07 14:03:30 -0400 |
commit | 2b357af7eed9c7dd3a8f9b5bb589c352cabd6406 (patch) | |
tree | 7a56e757655bf8e8943cb277c81a3e89f724f9ce /include | |
parent | a5d06b6e2b52d535fca25adf143f27233a3609c5 (diff) | |
download | sway-2b357af7eed9c7dd3a8f9b5bb589c352cabd6406.tar.xz |
Give keyboard focus to unmanaged xwayland surfaces
This fixes dmenu
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/input/seat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h index d1cfbe4c..c7be58b5 100644 --- a/include/sway/input/seat.h +++ b/include/sway/input/seat.h @@ -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); |