aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'render.c')
-rw-r--r--render.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/render.c b/render.c
index 804ccdc3..3a577482 100644
--- a/render.c
+++ b/render.c
@@ -1563,16 +1563,7 @@ static void
render_overlay(struct terminal *term)
{
struct wayl_sub_surface *overlay = &term->window->overlay;
- bool unicode_mode_active = false;
-
- /* Check if unicode mode is active on at least one seat focusing
- * this terminal instance */
- tll_foreach(term->wl->seats, it) {
- if (it->item.unicode_mode.active) {
- unicode_mode_active = true;
- break;
- }
- }
+ const bool unicode_mode_active = term->unicode_mode.active;
const enum overlay_style style =
term->is_searching ? OVERLAY_SEARCH :