diff options
author | Steven Allen <steven@stebalien.com> | 2024-01-23T22·41-0800 |
---|---|---|
committer | Daniel Mendler <mail@daniel-mendler.de> | 2024-01-24T05·05+0100 |
commit | 2bb9a5787ea5b15c8fe4e7c461eb99b412363a16 (patch) | |
tree | 4d390afdbb84052cc1278d8a5f58472b6853c4d5 /exwm.el | |
parent | 0e365a00587b961b83de54206a5dc058adadfddf (diff) |
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.
Diffstat (limited to 'exwm.el')
-rw-r--r-- | exwm.el | 2 |
1 files changed, 1 insertions, 1 deletions
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 |