aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-03-02 08:01:40 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-03-02 08:01:40 +0000
commit3f19ee4d921e69e90073d00846fa2a5a37d691af (patch)
tree51e40e4c52299ec62862f8bce55e7ea06ec9cfe9 /wayland.h
parentMerge branch 'add-name-section-to-foot-ctlseq' (diff)
ime: don’t commit IME changes when we don’t have IME focus
Fixes log spamming in Sway: 00:54:07.780 [DEBUG] [wlr] [types/wlr_text_input_v3.c:181] Text input commit received without focus 00:54:07.780 [INFO] [sway/input/text_input.c:127] Inactive text input tried to commit an update Closes #384
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wayland.h b/wayland.h
index 7aecaee0..34314414 100644
--- a/wayland.h
+++ b/wayland.h
@@ -271,6 +271,7 @@ struct seat {
} pending;
} surrounding;
+ bool focused;
uint32_t serial;
} ime;
#endif