ime: set ‘have_warned = true’ to avoid warning over and over again

This commit is contained in:
Daniel Eklöf 2021-03-23 17:30:56 +01:00
parent 6ae8ed7e6b
commit ebb92a4db6
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

1
ime.c
View file

@ -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;
}
}