diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-04-07 14:03:30 -0400 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-04-07 14:03:30 -0400 |
| commit | d76aa482254b2d68d579eda3dd00e0b7121ddfa7 (patch) | |
| tree | 7a56e757655bf8e8943cb277c81a3e89f724f9ce /include | |
| parent | b2d5f85a72105b5a7d8b10c6119fda6a2e363db6 (diff) | |
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); |
