diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-05-24 10:30:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-24 10:30:15 -0400 |
commit | a0eb37e2ea4ad96b4f6e98fddbc5c31d0bd0f293 (patch) | |
tree | defe8ed75ef496af64b4c342212532947d190a18 /rootston/seat.c | |
parent | 0ab37db54359959d9a9f05ed78a51ead5ba98348 (diff) | |
parent | a94c56a828933d72b0529f81916292222ef152f0 (diff) |
Merge pull request #997 from dcz-purism/master
Ignore clicks on un-focuseable things.
Diffstat (limited to 'rootston/seat.c')
-rw-r--r-- | rootston/seat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rootston/seat.c b/rootston/seat.c index cbc7c961..b137ff11 100644 --- a/rootston/seat.c +++ b/rootston/seat.c @@ -798,6 +798,7 @@ void roots_seat_set_focus(struct roots_seat *seat, struct roots_view *view) { if (view == NULL) { seat->cursor->mode = ROOTS_CURSOR_PASSTHROUGH; + wlr_seat_keyboard_clear_focus(seat->seat); return; } |