From 3f19ee4d921e69e90073d00846fa2a5a37d691af Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 2 Mar 2021 09:01:40 +0100 Subject: ime: don’t commit IME changes when we don’t have IME focus MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- wayland.h | 1 + 1 file changed, 1 insertion(+) (limited to 'wayland.h') 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 -- cgit v1.3