diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-07 14:43:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-07 14:43:38 -0400 |
commit | 4b200869b2769a41d087c70e3e80124b2ed51064 (patch) | |
tree | 7a56e757655bf8e8943cb277c81a3e89f724f9ce /include/sway/input/seat.h | |
parent | a5d06b6e2b52d535fca25adf143f27233a3609c5 (diff) | |
parent | 2b357af7eed9c7dd3a8f9b5bb589c352cabd6406 (diff) |
Merge pull request #1767 from emersion/fix-dmenu
Give keyboard focus to unmanaged xwayland surfaces
Diffstat (limited to 'include/sway/input/seat.h')
-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); |