[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 9988047f47: Fix build with --enable-check-lisp-object-type
From: |
Po Lu |
Subject: |
master 9988047f47: Fix build with --enable-check-lisp-object-type |
Date: |
Sun, 22 May 2022 03:34:30 -0400 (EDT) |
branch: master
commit 9988047f476763424b1e763118da5aa489aa5d7d
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Fix build with --enable-check-lisp-object-type
* src/xterm.c (handle_one_xevent): Fix use of Fequal. Reported
by Jashank Jeremy <jashank@rulingia.com.au>.
---
src/xterm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/xterm.c b/src/xterm.c
index 0487259bf0..c6c0a2f915 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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 9988047f47: Fix build with --enable-check-lisp-object-type,
Po Lu <=