]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix build with --enable-check-lisp-object-type
authorPo Lu <luangruo@yahoo.com>
Sun, 22 May 2022 07:33:50 +0000 (15:33 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 22 May 2022 07:34:21 +0000 (15:34 +0800)
* src/xterm.c (handle_one_xevent): Fix use of Fequal.  Reported
by Jashank Jeremy <jashank@rulingia.com.au>.

src/xterm.c

index 0487259bf02d7f5f4e701bbbfd5b5004d4425cca..c6c0a2f9153e538c8ccccc3020c4b7a923537635 100644 (file)
@@ -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;