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:
parent
0e365a0058
commit
2bb9a5787e
2 changed files with 3 additions and 2 deletions
2
exwm.el
2
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue