diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-11 07:04:46 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-11 07:04:46 +0000 |
| commit | 8c72e9434e1b7a24ee19b2bcb414957088ec040e (patch) | |
| tree | 96ac31164f2c4cfd6167b24c4757c5b0924a96eb /terminal.h | |
| parent | Merge branch 'multi-seat' (diff) | |
term: cache kbd-focused state, just like we cache visual focus state
There's one difference however, when we receive a kbd unfocus call,
*all* seats must have us unfocused before we actually change the
state.
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -336,6 +336,7 @@ struct terminal { struct wayland *wl; struct wl_window *window; bool visual_focus; + bool kbd_focus; enum term_surface active_surface; struct { |
