From 8c72e9434e1b7a24ee19b2bcb414957088ec040e Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 11 Jul 2020 09:04:46 +0200 Subject: 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. --- terminal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'terminal.h') diff --git a/terminal.h b/terminal.h index 8316795f..c56f9531 100644 --- a/terminal.h +++ b/terminal.h @@ -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 { -- cgit v1.3