From 9988047f476763424b1e763118da5aa489aa5d7d Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sun, 22 May 2022 15:33:50 +0800 Subject: [PATCH] Fix build with --enable-check-lisp-object-type * src/xterm.c (handle_one_xevent): Fix use of Fequal. Reported by Jashank Jeremy . --- src/xterm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xterm.c b/src/xterm.c index 0487259bf02..c6c0a2f9153 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -20159,8 +20159,8 @@ handle_one_xevent (struct x_display_info *dpyinfo, current_monitors = Fx_display_monitor_attributes_list (inev.ie.arg); - if (Fequal (current_monitors, - dpyinfo->last_monitor_attributes_list)) + if (!NILP (Fequal (current_monitors, + dpyinfo->last_monitor_attributes_list))) inev.ie.kind = NO_EVENT; dpyinfo->last_monitor_attributes_list = current_monitors; -- 2.39.2