From 2bb9a5787ea5b15c8fe4e7c461eb99b412363a16 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Tue, 23 Jan 2024 14:41:12 -0800 Subject: Use '=' instead of 'eq' to compare numbers. * exwm.el (exwm--update-desktop): * exwm-layout.el (exwm-layout--hide): Use `=` instead of `eq` for numeric comparison. --- exwm.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exwm.el') diff --git a/exwm.el b/exwm.el index bf074b6f9ffa..c4900eab48ca 100644 --- a/exwm.el +++ b/exwm.el @@ -176,7 +176,7 @@ Argument XWIN contains the X window of the `exwm-mode' buffer." (when reply (setq desktop (slot-value reply 'value)) (cond - ((eq desktop 4294967295.) + ((and desktop (= desktop 4294967295.)) (unless (or (not exwm--floating-frame) (eq exwm--frame exwm-workspace--current) (and exwm--desktop -- cgit 1.4.1