aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-03-23 16:30:56 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-03-25 08:36:28 +0000
commitebb92a4db6e7c3484b918c07092aa381103bada7 (patch)
tree47e41f136b2b870c510aa27ec2df210c51e6ee61
parentchangelog: don’t crash upon receiving text-input::enter without keyboard focus (diff)
ime: set ‘have_warned = true’ to avoid warning over and over again
-rw-r--r--ime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ime.c b/ime.c
index 58aecf7f..91a746e9 100644
--- a/ime.c
+++ b/ime.c
@@ -117,6 +117,7 @@ done(void *data, struct zwp_text_input_v3 *zwp_text_input_v3,
LOG_WARN(
"%s: text-input::done() received on seat that isn't "
"focusing a terminal window", seat->name);
+ have_warned = true;
}
}