From 326e056da1b008eec9c9afd05ebe581765f0b8ad Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Tue, 22 Apr 2025 05:53:35 +0200 Subject: [PATCH] ; Fix thinko in recent commit (cherry picked from commit 45e849bddc1c7777628d3f42557ddbd8a6ba96b7) --- src/xterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index 1884e780e34..249916cf954 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -11971,10 +11971,10 @@ x_new_focus_frame (struct x_display_info *dpyinfo, struct frame *frame) { struct frame *old_focus = dpyinfo->x_focus_frame; #if defined USE_GTK && !defined HAVE_GTK3 && defined HAVE_XINPUT2 + XIEventMask mask; if (dpyinfo->supports_xi2) { ptrdiff_t l = XIMaskLen (XI_LASTEVENT); - XIEventMask mask; mask.mask = alloca (l); mask.mask_len = l; memset (mask.mask, 0, l); -- 2.39.5