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.
This commit is contained in:
Steven Allen 2024-01-23 14:41:12 -08:00 committed by Daniel Mendler
parent 0e365a0058
commit 2bb9a5787e
2 changed files with 3 additions and 2 deletions

View file

@ -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